From 7e9a266e20be9a0427903b384e27aec570bec2c1 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Thu, 11 Oct 2018 11:08:10 +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 3cf3731..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 all participants - description: Get all the 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