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
Enum-strings with special characters should be quoted in yaml.
Example:
enum class DemoEnum { @JsonProperty("escaping-dash") ESCAPING_DASH, @JsonProperty("noEscaping") NO_ESCAPING }
should result in
DemoEnum: type: string enum: - 'escaping-dash' - noEscaping
Invalid string in yaml, e.g. escaping-dash instead of 'escaping-dash'
DemoEnum: type: string enum: - escaping-dash - noEscaping
see example in Expected Behavior
No response
3.8.7
The text was updated successfully, but these errors were encountered:
@StefanSrf don't need to escape it. This is normal yaml file. You can check it on https://editor.swagger.io
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
Enum-strings with special characters should be quoted in yaml.
Example:
should result in
Actual Behaviour
Invalid string in yaml, e.g. escaping-dash instead of 'escaping-dash'
Steps To Reproduce
see example in Expected Behavior
Environment Information
Example Application
No response
Version
3.8.7
The text was updated successfully, but these errors were encountered: