diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 368e9f2..6f780ff 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -2,13 +2,14 @@ swagger: 2.0 info: title: Summit API - description: An API that gives information about the Red Hat Summit. - version: 1.1.0 + description: An API that gives information about the Red Hat Summit, secured with + OpenID Connect. + version: 2.0.0 paths: /location: get: summary: Get Next RH Summit Location - description: 'Get the location of the next RedHat Summit ' + description: Get the location of the next RedHat Summit. operationId: GetLocation responses: 200: @@ -23,17 +24,20 @@ paths: description: OK /participants: get: - summary: Get Participants - description: Get all participants + 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 + authorizationUrl: https://filled-later.dummy/auth + tokenUrl: https://filled-later.dummy/token + scopes: + openid: Get an OpenID Connect token security: -- apikey: [] +- oidc: + - openid