From 1f0981d88ad557db5d079ec77e732a3555977440 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Mon, 16 Sep 2019 12:42:46 +0200 Subject: [PATCH] v1 --- openapi-spec.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 13eef40..bd519c8 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.2 info: title: Petstore - version: 0.9.0 + version: 1.0.0 description: |- A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification @@ -195,3 +195,10 @@ components: type: integer message: type: string + securitySchemes: + api-key: + type: apiKey + name: api-key + in: header +security: +- api-key: []