Open
Description
- OS: macOS 10.14
- Browser: Safari
- Version: 12.0
- Method of installation: Github download
- Swagger-UI version: 3.20.5
- Swagger/OpenAPI version: Swagger 2.0
The following snippet of Swagger JSON from my API includes a description for a nested property:
"reasonForDeletion":{"description":"The reason for deletion. VocabularyDomain=SubjectMgmtAllergyDeletionReason.","$ref":"#/definitions/CodedConceptReference"}}
The Swagger-ui output, however, does not display the nested entity description i.e.: it looks like this:
Steps to reproduce the behavior:
- Use Swagger-UI to explore an API with a nested property having a description
- Expand the nested property
- Observe a lack of the 'description' text
Expected behaviour:
Descriptions of nested properties should appear immediately adjacent to the described property; the nested entity descriptions should then follow
Additional context or thoughts
- this problem has existed in every version of Swagger-UI going back well over a year. It has been reported several times, and described as 'fixed' several times as well