Skip to content
New issue

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

Deprecated tag not being added to doc #6

Closed
WRostom opened this issue Jun 22, 2018 · 2 comments
Closed

Deprecated tag not being added to doc #6

WRostom opened this issue Jun 22, 2018 · 2 comments

Comments

@WRostom
Copy link

WRostom commented Jun 22, 2018

I used the OpenAPI decorator to add the deprecated tag to the documentation and it didn't read it for some reason.

Code
screenshot from 2018-06-22 16-38-05

swagger.json file
screenshot from 2018-06-22 16-39-27

@epiphone
Copy link
Owner

There was a bug in how the library cleans up empty properties; I didn't realize _.isEmpty(true) resolves to true. Pushed a patch, thanks for the heads-up!

@WRostom
Copy link
Author

WRostom commented Jun 22, 2018

Any time. Thank you for doing the actual hard work.

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

No branches or pull requests

2 participants