From e584c757ba81271120d87c848cc59d5dab802cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 30 Apr 2018 11:25:41 +0200 Subject: [PATCH] change to openid connect --- openapi-spec.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index cfc2d8d..fed3402 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: @@ -13,11 +13,12 @@ paths: responses: 200: description: OK -securityDefinitions: - apikey: - type: apiKey - description: Use a 3scale API Key - name: api-key - in: header security: -- apikey: [] +- oidc: + - openid +securityDefinitions: + oidc: + type: oauth2 + flow: accessCode + scopes: + openid: Get an OpenID Connect token