From a4788ee7f87701fee5a7a21ae37d65d110af82d8 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Tue, 17 Sep 2019 06:47:46 +0200 Subject: [PATCH] v2.0 --- openapi-spec.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 9c9f729..3aa4bc2 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.2 info: title: Petstore - version: 1.1.0 + version: 2.0.0 description: |- A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification @@ -213,9 +213,14 @@ components: message: type: string securitySchemes: - api-key: - type: apiKey - name: api-key - in: header + oidc: + flows: + clientCredentials: + tokenUrl: https://filled.later/ + refreshUrl: https://filled.later/ + scopes: + openid: openid + type: oauth2 security: -- api-key: [] +- oidc: + - openid