We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
the display of the pattern field is lower cased that is it not appropriate when using a regex like [A-Z]{3} that is displayed as [a-z]{3}
[A-Z]{3}
[a-z]{3}
Expected result
Display the pattern like it is set in the specification
Actual result
Steps to reproduce
Start from the AsyncAPI studio and add the "pattern": "[A-Z]{3}" in any field to see the rendering
"pattern": "[A-Z]{3}"
Troubleshooting
To solve the issue, simply remove the lowercase css class in the https://github.com/asyncapi/asyncapi-react/blob/next/library/src/components/Schema.tsx (line 170)
lowercase
The text was updated successfully, but these errors were encountered:
fix(schema): remove lowercase css class to display pattern as expected
8f6a90f
the pattern is set to lowercase so some pattern expression like [A-Z]{3} are displayed as [a-z]{3} that is not correct Close asyncapi#549
fix(schema): remove lowercase css class to display pattern field as e…
7001b6e
…xpected the pattern is set to lowercase so some pattern expression like [A-Z]{3} are displayed as [a-z]{3} that is not correct Close asyncapi#549
Fixed by #550
Sorry, something went wrong.
No branches or pull requests
Description
the display of the pattern field is lower cased that is it not appropriate when using a regex like
[A-Z]{3}
that is displayed as[a-z]{3}
Expected result
Display the pattern like it is set in the specification
Actual result
Steps to reproduce
Start from the AsyncAPI studio and add the
"pattern": "[A-Z]{3}"
in any field to see the renderingTroubleshooting
To solve the issue, simply remove the
lowercase
css class in the https://github.com/asyncapi/asyncapi-react/blob/next/library/src/components/Schema.tsx (line 170)The text was updated successfully, but these errors were encountered: