Browse Source

back to v1

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

30
openapi-spec.yaml

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

Loading…
Cancel
Save