From 039a483441eae701ff9009801f924ee9d3f66db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Wed, 2 May 2018 09:24:25 +0200 Subject: [PATCH] api v1 --- openapi-spec.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/openapi-spec.yaml b/openapi-spec.yaml index fed3402..37ff126 100644 --- a/openapi-spec.yaml +++ b/openapi-spec.yaml @@ -3,22 +3,21 @@ 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: summary: Get Next RH Summit Location description: 'Get the location of the next RedHat Summit ' operationId: GetLocation + x-threescale-smoketests-operation: true responses: 200: description: OK security: -- oidc: - - openid +- apikey: [] securityDefinitions: - oidc: - type: oauth2 - flow: accessCode - scopes: - openid: Get an OpenID Connect token + apikey: + name: api-key + in: header + type: apiKey