-
Notifications
You must be signed in to change notification settings - Fork 6
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
734 fix swagger tags #735
734 fix swagger tags #735
Conversation
Add missing brackets to vulnerbilities tags Change cpes endpoint tags to CPEs Change cves endpoint tags to CVEs Change domain endpoint tags to Domains Change vulnerabilities endpoint tags to Vulnerabilities Change api-keys endpoint tags to API Keys Change auth endpoint tags to Auth Change saved-searches endpoint tags to Saved Searches Change notifications endpoint tags to Notifications Change stats endpoint tags to Stats
@aloftus23 I re-requested your review. I reordered the endpoints so the tags are alphabetized on the swagger docs page. |
Add missing brackets to vulnerbilities tags Change cpes endpoint tags to CPEs Change cves endpoint tags to CVEs Change domain endpoint tags to Domains Change vulnerabilities endpoint tags to Vulnerabilities Change api-keys endpoint tags to API Keys Change auth endpoint tags to Auth Change saved-searches endpoint tags to Saved Searches Change notifications endpoint tags to Notifications Change stats endpoint tags to Stats
|
||
Returns: | ||
JSONResponse: The result of the update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are we doing for exceptions, since we are removing the exceptions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what happened. The exception is still there on line 1181. Reordering the endpoints created some weirdness with the commit.
🗣 Description
Update endpoint tags in views.py for consistency.
Alphabetize endpoints by tag.
💭 Motivation and context
Organizes endpoints in swagger documentation into neat categories and fixes duplication of listed endpoints.
Closes issue #734
🧪 Testing
✅ Pre-approval checklist
in code comments.
to reflect the changes in this PR.
✅ Pre-merge checklist
✅ Post-merge checklist