From 00a0aa883c7384d210f6d0bddb7a5890b338bd86 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Tue, 10 Sep 2019 15:33:51 +0200 Subject: [PATCH] V2 --- openapi-spec.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 1a74c7a..974fa59 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.2 info: title: test - version: 1.0.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 @@ -196,9 +196,14 @@ components: message: type: string securitySchemes: - api-key: - type: apiKey - name: api-key - in: header + oidc: + flows: + clientCredentials: + tokenUrl: https://dummy.url/ + refreshUrl: https://dummy.url/ + scopes: + openid: openid + type: oauth2 security: -- api-key: [] +- oidc: + - openid