From b1b54001aa54b04b17f4212d4f65a3603454a21d Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Wed, 8 Apr 2020 16:35:41 +0200 Subject: [PATCH] v1.0 --- openapi-spec.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 0bcb425..b6d4bac 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.2 info: title: Petstore API - 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: []