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
ExtensionProperty
The swagger maven plugin doesn't adhere to the parseValue flag in the ExtensionProperty annotation. The docs suggest the following:
parseValue
If set to true, field value will be parsed and serialized as JSON/YAML
value
API definition
@ApiOperation(value = "create a user", response = User.class, extensions = { @Extension(name = "x-authorities", properties = { @ExtensionProperty(name = "roles", value = "[\"user_create\", \"user_admin\"]", parseValue = true) }) })
But when the final extension property is rendered it is a string in the swagger.json file.
"x-authorities": { "roles": "[\"user_create\", \"user_admin\"]" }
Is this the intended behavior or am I missing something while configuring the plugin?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The swagger maven plugin doesn't adhere to the
parseValue
flag in theExtensionProperty
annotation. The docs suggest the following:API definition
But when the final extension property is rendered it is a string in the swagger.json file.
Is this the intended behavior or am I missing something while configuring the plugin?
The text was updated successfully, but these errors were encountered: