Nicolas Massé 6 years ago
parent
commit
95c86298a0
  1. 20
      openapi.json

20
openapi.json

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

Loading…
Cancel
Save