From ba133251e87e9976e872702ecc7a4d25f1823f4a Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Tue, 10 Sep 2019 12:26:54 +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 e481bb0..1a74c7a 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.2 info: title: test - 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: []