From da43c8ef0d997ed07462e95402b3abbe54ba92f0 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Thu, 11 Oct 2018 13:51:08 +0200 Subject: [PATCH] V2 --- openapi-spec.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index c1086b2..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,17 +23,20 @@ paths: description: OK /participants: get: - summary: Get participants - description: 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