Skip to content

#2101 Fix @Deprecated annotation being ignored on fields using $ref (i.e. fields referencing classes) - #2116

Closed
daniel-frak wants to merge 1 commit into
springdoc:masterfrom
daniel-frak:2101_fix_deprecated_refs
Closed

daniel-frak wants to merge 1 commit into
springdoc:masterfrom
daniel-frak:2101_fix_deprecated_refs

Conversation

@daniel-frak

Copy link
Copy Markdown

No description provided.

…ields referencing classes)

Sibling values alongside $ref are ignored in OpenAPI versions lower than 3.1. Therefore, it is necessary to wrap $refs in allOf when deprecating them.

Fixes #2101
@bnasslahsen

Copy link
Copy Markdown
Collaborator

Not approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants