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
An enum property with Schema description generates an incorrect open api yaml specification, with 'allOf' and 'type: object' that should not be there,
@Data public class ColumnNameListRequest { @Schema(description="foo") private DataGranularity granularity; }
generates,
ColumnNameListRequest: type: object properties: granularity: allOf: - $ref: '#/components/schemas/DataGranularity' - type: object description: foo
but if I remove description="foo" the generated signature looks correct,
description="foo"
ColumnNameListRequest: type: object properties: granularity: $ref: '#/components/schemas/DataGranularity'
Why does the generated openapi type depend on whether I supply a "description" or not?
src.zip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
An enum property with Schema description generates an incorrect open api yaml specification, with 'allOf' and 'type: object' that should not be there,
generates,
but if I remove
description="foo"
the generated signature looks correct,generates,
Why does the generated openapi type depend on whether I supply a "description" or not?
src.zip
The text was updated successfully, but these errors were encountered: