From 59e96981eda9049bfe3159ca028983bf01920f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Wed, 2 May 2018 09:45:13 +0200 Subject: [PATCH] new version --- openapi-spec.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 37ff126..79b0abf 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -3,7 +3,7 @@ swagger: 2.0 info: title: Summit API description: An API that gives information about the Red Hat Summit. - version: 1.0.0 + version: 2.0.0 paths: /location: get: @@ -15,9 +15,11 @@ paths: 200: description: OK security: -- apikey: [] +- oidc: + - openid securityDefinitions: - apikey: - name: api-key - in: header - type: apiKey + oidc: + type: oauth2 + flow: accessCode + scopes: + openid: Get an OpenID Connect token