From de10af6fe8e04fb1da6cb4c7374e3c4d87f0929d Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Thu, 17 May 2018 18:05:12 +0200 Subject: [PATCH] Back to V1 --- openapi-spec.yaml | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 6f780ff..4f2a04c 100644 --- a/openapi-spec.yaml +++ b/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: []