Nicolas Massé 8 years ago
parent
commit
9c041dcc56
  1. 26
      openapi-spec.yaml

26
openapi-spec.yaml

@ -2,13 +2,14 @@
swagger: 2.0 swagger: 2.0
info: info:
title: Summit API title: Summit API
description: An API that gives information about the Red Hat Summit. description: An API that gives information about the Red Hat Summit, secured with
version: 1.1.0 OpenID Connect.
version: 2.0.0
paths: paths:
/location: /location:
get: get:
summary: Get Next RH Summit Location 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 operationId: GetLocation
responses: responses:
200: 200:
@ -23,17 +24,20 @@ paths:
description: OK description: OK
/participants: /participants:
get: get:
summary: Get participants summary: Get all participants
description: Get all participants. description: Get a list of all participants.
operationId: GetParticipants operationId: GetParticipants
responses: responses:
200: 200:
description: OK description: OK
securityDefinitions: securityDefinitions:
apikey: oidc:
type: apiKey type: oauth2
description: Use a 3scale API Key flow: accessCode
name: api-key authorizationUrl: https://filled-later.dummy/auth
in: header tokenUrl: https://filled-later.dummy/token
scopes:
openid: Get an OpenID Connect token
security: security:
- apikey: [] - oidc:
- openid

Loading…
Cancel
Save