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
OpenAPI has the concept of "Security" in paths/routes that we can flow
it is important that moclojer's own specification has a similar behavior to openapi's, this document will help a lot to define how we will do the implementation
- auth:
token: ab123endpoint: # optionalmethod: POST # default `POST`path: /auth # default `/auth`all_endpoint: false # default `false`, forces all endpoints to have authenticationdomain: moclojer.com # optional
- endpoint:
auth: true # default `false`, if `auth.all_endpoint: true`, it is not necessary to activate this optionauth_token: abc123 # optional, if `auth: true` it has priority over this attribute[...]
Support for "closed" endpoint by authentication
Authorization: Bearer <token>
The text was updated successfully, but these errors were encountered: