From 8faddbc8f28568a3e4f7f5575af68a95b91df1d4 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Wed, 19 Sep 2018 15:38:45 +0200 Subject: [PATCH] V2 --- openapi-spec.yaml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 696ef7f..be1d380 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -1,10 +1,10 @@ --- swagger: 2.0 info: - title: RHTE API - description: RHTE API v1.0 - An API that gives information about the Red Hat Tech + title: RHTE API with OpenID Connect + description: RHTE API v2.0 - An API that gives information about the Red Hat Tech Exchange - version: 1.1.0 + version: 2.0.0 paths: /location: get: @@ -24,17 +24,20 @@ paths: description: OK /participants: get: - summary: Get Participants - description: Get all participants + summary: Get Next RHTE Participants + description: Get the participants of the next RedHat Tech Exchange 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