apinf / openapi-designer

Design interface for creating Open API (Swagger) specification files
https://openapi.design
MIT License
68 stars 18 forks source link

Hide the empty fields from preview #213

Closed tulir closed 7 years ago

tulir commented 7 years ago

Fixes #211

This pull request hides empty fields from the preview.

Demo available at https://dev.openapi.design/feature/fix-preview-empty-fields

xylix commented 7 years ago

While reviewing this PR I found a problem with hiding Security Definitions with empty description but nonempty key. It should also be fixed in this pull request.