From deabd8fd53abd21271e96aaba2896f6a45f789bf Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Fri, 25 Jan 2019 08:46:52 +0100 Subject: [PATCH] v2 --- openapi-spec.yaml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index dc0334a..f079a66 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -2,9 +2,8 @@ swagger: "2.0" info: title: Red Hat Event API - description: Red Hat Event API v1.0 - An API that gives information about the Red - Hat Event - version: 1.1.0 + description: RHTE API v2.0 - An API that gives information about the Red Hat Event + version: 2.0.0 paths: /location: get: @@ -24,16 +23,20 @@ paths: description: OK /participants: get: - summary: Get all participants + summary: Get Participants + description: Get the participants of the next RedHat Event 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 + authorizationUrl: https://filled-later.dummy/auth + tokenUrl: https://filled-later.dummy/token + scopes: + openid: Get an OpenID Connect token security: -- apikey: [] +- oidc: + - openid