From 4ac07cd896010c8c7140404068216992cb9c325b Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Wed, 19 Oct 2022 17:49:36 +0200 Subject: [PATCH] v1.0 --- openapi.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/openapi.json b/openapi.json index 1ba5cee..780f580 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": "Eric Wittmann", @@ -319,6 +319,20 @@ }, "description": "Generic response when not found." } + }, + "securitySchemes": { + "api-key": { + "type": "apiKey", + "description": "api-key", + "name": "api-key", + "in": "header" + } + } + }, + "security": [ + { + "api-key": [ + ] } - } -} + ] +} \ No newline at end of file