From 4ef4d604f2e7a0461d85803ccd2a6d369a91a999 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Mon, 16 Sep 2019 13:04:02 +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 6d3227f..f2c4a8d 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 @@ -212,9 +212,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