From 5b2a70dcacc7563b040c08e9ac8ed57b7402362e Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Mon, 7 May 2018 18:17:14 +0200 Subject: [PATCH] back to v1 --- openapi-spec.yaml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index 6f47b88..4f2a04c 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -3,7 +3,7 @@ swagger: 2.0 info: title: Summit API description: An API that gives information about the Red Hat Summit. - version: 2.0.0 + version: 1.0.0 paths: /location: get: @@ -21,20 +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 - 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: []