From fc0ac23d9efb577e1b091dd117b8559cf0fbaec2 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Fri, 11 Sep 2020 15:44:53 +0200 Subject: [PATCH] v0.9 --- openapi.json | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/openapi.json b/openapi.json index c5a8710..da98bb5 100644 --- a/openapi.json +++ b/openapi.json @@ -2,10 +2,10 @@ "openapi": "3.0.2", "info": { "title": "Library API", - "version": "1.0.0", - "description": "Get infos about books and authors", + "version": "0.9.0", + "description": "A simple API for managing authors and books.", "contact": { - "name": "Nicolas Massé", + "name": "Nicolas MASSE", "email": "nmasse@redhat.com" } }, @@ -25,7 +25,7 @@ } }, "examples": { - "all-authors": { + "vhugo": { "value": [ { "id": "vhugo", @@ -329,7 +329,6 @@ "type": "string" }, "publish-date": { - "format": "date", "type": "string" }, "ddsn": { @@ -346,19 +345,6 @@ "publish-date": "01-01-1862" } } - }, - "securitySchemes": { - "api-key": { - "type": "apiKey", - "name": "api-key", - "in": "header" - } - } - }, - "security": [ - { - "api-key": [ - ] } - ] + } } \ No newline at end of file