From 5b4f5c2ca068abc9bccd967edb5136b66f0116a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 21 Jun 2019 10:34:21 +0200 Subject: [PATCH] add new usecase --- testcase-04/swagger.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testcase-04/swagger.yaml diff --git a/testcase-04/swagger.yaml b/testcase-04/swagger.yaml new file mode 100644 index 0000000..c7dddf7 --- /dev/null +++ b/testcase-04/swagger.yaml @@ -0,0 +1,39 @@ +--- +swagger: '2.0' +info: + title: Red Hat Event API + description: Red Hat Event API v1.1 - An API that gives information about the Red Hat Event + version: 1.1.0 +paths: + /location: + get: + summary: Get Location + description: Get the location of the next RedHat Event + operationId: GetLocation + responses: + 200: + description: OK + /timeframe: + get: + summary: Get Timeframe + description: Get the timeframe of the next RedHat Event + operationId: GetTimeframe + responses: + 200: + description: OK + /participants: + get: + summary: Get Participants + description: Get the participants of the next RedHat Event + operationId: GetParticipants + responses: + 200: + description: OK +securityDefinitions: + apikey: + type: apiKey + description: Use a 3scale API Key + name: api-key + in: header +security: +- apikey: []