diff --git a/openapi.json b/openapi.json index 26d3c2e..dafc639 100644 --- a/openapi.json +++ b/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" ] } ]