diff --git a/openapi.json b/openapi.json index 3154040..859a56c 100644 --- a/openapi.json +++ b/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.2", "info": { "title": "Library API", - "version": "0.9.0", + "version": "1.0.0", "description": "A simple API for managing authors and books" }, "paths": { @@ -307,6 +307,19 @@ "publish-date": "01-01-1862" } } + }, + "securitySchemes": { + "api-key": { + "type": "apiKey", + "name": "api-key", + "in": "header" + } + } + }, + "security": [ + { + "api-key": [ + ] } - } + ] } \ No newline at end of file