-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
Q&A (please complete the following information)
- OS: macOS
- Browser: Chrome
- Version:
- Method of installation:
- Swagger-UI version: 3.32.5
- Swagger/OpenAPI version: both Swagger 2.0, OpenAPI 3.0
Content & configuration
(Add to) Example Swagger/OpenAPI definition:
# "components/schema" (OAS3), or "definitions" (OAS2)
IdentificationProfile:
type: object
deprecated: true
properties:
code:
type: integer
format: int32
message:
type: string
IDP2:
type: array
deprecated: true
items:
type: stringDescribe the bug you're encountering
To reproduce...
Steps to reproduce the behavior:
- Add above snippet to a valid defintion
- Click on
Models: IdentificationProfile - See lack of
deprecated: true
Expected behavior
The object model is shown as deprecated in the SwaggerU
Screenshots
Additional context or thoughts
As a comparison, in Models: IDP2, the Array Model properly displays deprecated: true
bergamin
Metadata
Metadata
Assignees
Labels
No labels
