Browse Source

v2.0

master
Nicolas Massé 5 years ago
parent
commit
e155c075a2
  1. 21
      openapi.json

21
openapi.json

@ -2,7 +2,7 @@
"openapi": "3.0.2",
"info": {
"title": "Library API",
"version": "1.0.0",
"version": "2.0.0",
"description": "A simple API for managing authors and books.",
"contact": {
"name": "Eric Wittmann",
@ -321,16 +321,25 @@
}
},
"securitySchemes": {
"api-key": {
"type": "apiKey",
"name": "api-key",
"in": "header"
"oidc": {
"flows": {
"clientCredentials": {
"tokenUrl": "http://filled.later",
"refreshUrl": "http://filled.later",
"scopes": {
"oidc": "oidc"
}
}
},
"type": "oauth2",
"description": "oidc"
}
}
},
"security": [
{
"api-key": [
"oidc": [
"oidc"
]
}
]

Loading…
Cancel
Save