Skip to content

Commit

Permalink
Added updated openapi.json specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dresse committed Oct 7, 2024
1 parent 1ae5275 commit d2f701d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,29 @@
"basic_auth": {
"type": "basic"
},
"oauth2": {
"type": "oauth2",
"description": "For more information see https://developers.getbase.com/docs/rest/articles/oauth2/requests",
"flows": {
"password": {
"tokenUrl": "http://varnish:8080/oauth/token",
"refreshUrl": "http://varnish:8080/oauth/token"
},
"authorizationCode": {
"authorizationUrl": "http://varnish:8080/oauth/authorize",
"tokenUrl": "http://varnish:8080/oauth/token",
"refreshUrl": "http://varnish:8080/oauth/token"
},
"implicit": {
"authorizationUrl": "http://varnish:8080/oauth/authorize",
"refreshUrl": "http://varnish:8080/oauth/token"
},
"clientCredentials": {
"tokenUrl": "http://varnish:8080/oauth/token",
"refreshUrl": "http://varnish:8080/oauth/token"
}
}
},
"csrf_token": {
"type": "apiKey",
"name": "X-CSRF-Token",
Expand All @@ -23,6 +46,9 @@
{
"basic_auth": []
},
{
"oauth2": []
},
{
"csrf_token": []
}
Expand Down

0 comments on commit d2f701d

Please sign in to comment.