Browse Source

back to V1

master
Nicolas Massé 8 years ago
parent
commit
7cb3260fbf
  1. 30
      openapi-spec.yaml

30
openapi-spec.yaml

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

Loading…
Cancel
Save