From f05d85ed6bda9bf52d36558ca7d4a2f02e09ee16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Thu, 3 May 2018 10:41:11 +0200 Subject: [PATCH] v2 --- openapi-spec.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index a76ea7d..6f47b88 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.1.0 + version: 2.0.0 paths: /location: get: @@ -23,17 +23,18 @@ paths: description: OK /participants: get: - summary: Get Participants - description: 'Get all participants of the next Red Hat Summit. ' + summary: Get all participants + description: Get a list of all participants operationId: GetParticipants responses: 200: description: OK securityDefinitions: - apikey: - type: apiKey - description: Use a 3scale API Key - name: api-key - in: header + oidc: + type: oauth2 + flow: accessCode + scopes: + openid: Get an OpenID Connect token security: -- apikey: [] +- oidc: + - openid