Selective API security application
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2021
10:16 PM
05-31-2021
10:16 PM
Selective API security application
Hi,
I have an OpenAPI spec I built. All endpoints in the spec use some form of security (API Key, Token). Of course, the login endpoint does not use security when acquiring the login token. How can I represent in OpenAPI that the user does not need to use a Token for a specific endpoint while using some security scheme in other endpoints.
Thanks
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2021
02:02 AM
06-01-2021
02:02 AM
paths:
/login:
post:
security: [] # <--- No security
...
Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
