diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 2219913..e3118f5 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -1,14 +1,15 @@ --- swagger: 2.0 info: - title: Summit API - description: An API that gives information about the Red Hat Summit. - version: 1.1.0 + title: Summit API v2.0 - OpenID Connect + 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 all participants. - description: Returns the list of all participants at Red Hat Summit. + 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