From 583f645c2f54648034322e6490410b151b5403a9 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Fri, 11 Sep 2020 16:02:46 +0200 Subject: [PATCH] v1.0 --- openapi.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/openapi.json b/openapi.json index da98bb5..65fa245 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.", "contact": { "name": "Nicolas MASSE", @@ -345,6 +345,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