From 89e0fcbf1e964ed3d9711c4bf89b55634810dc59 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Fri, 11 Sep 2020 10:38:10 +0200 Subject: [PATCH] v1.0 --- openapi.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/openapi.json b/openapi.json index 1df855f..c5a8710 100644 --- a/openapi.json +++ b/openapi.json @@ -2,7 +2,8 @@ "openapi": "3.0.2", "info": { "title": "Library API", - "version": "0.9.0", + "version": "1.0.0", + "description": "Get infos about books and authors", "contact": { "name": "Nicolas Massé", "email": "nmasse@redhat.com" @@ -345,6 +346,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