You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This security scheme is a global requirement for all API endpoints:
security:
- BearerAuth: [ ]
This means that all API endpoints require a JWT bearer token for access, and without any specific scopes, as denoted by [].
What if I don't want all API endpoints requiring JWT bearer, and need to make some publicly accessible without JWT tokens? (This is a simplified version from the complicated one at #843). Thx.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From https://github.com/deepmap/oapi-codegen/tree/master/examples/authenticated-api
What if I don't want all API endpoints requiring JWT bearer, and need to make some publicly accessible without JWT tokens? (This is a simplified version from the complicated one at #843). Thx.
Beta Was this translation helpful? Give feedback.
All reactions