diff --git a/testcase-05/openapi-spec-v0.9.yaml b/testcase-05/openapi-spec-v0.9.yaml new file mode 100644 index 0000000..fc48153 --- /dev/null +++ b/testcase-05/openapi-spec-v0.9.yaml @@ -0,0 +1,23 @@ +--- +swagger: '2.0' +info: + title: Red Hat Event + description: Red Hat Event API - An API that gives information about the Red Hat Event + version: 0.9.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 diff --git a/testcase-05/openapi-spec-v1.0.yaml b/testcase-05/openapi-spec-v1.0.yaml new file mode 100644 index 0000000..a29f0da --- /dev/null +++ b/testcase-05/openapi-spec-v1.0.yaml @@ -0,0 +1,31 @@ +--- +swagger: '2.0' +info: + title: Red Hat Event + description: Red Hat Event API - An API that gives information about the Red Hat Event + version: 1.0.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 +securityDefinitions: + apikey: + type: apiKey + description: Use a 3scale API Key + name: api-key + in: header +security: +- apikey: [] diff --git a/testcase-05/openapi-spec-v1.1.yaml b/testcase-05/openapi-spec-v1.1.yaml new file mode 100644 index 0000000..d1ce50c --- /dev/null +++ b/testcase-05/openapi-spec-v1.1.yaml @@ -0,0 +1,39 @@ +--- +swagger: '2.0' +info: + title: Red Hat Event + description: Red Hat Event API - 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: [] diff --git a/testcase-05/openapi-spec-v2.0.yaml b/testcase-05/openapi-spec-v2.0.yaml new file mode 100644 index 0000000..384a1d5 --- /dev/null +++ b/testcase-05/openapi-spec-v2.0.yaml @@ -0,0 +1,42 @@ +--- +swagger: '2.0' +info: + title: Red Hat Event + description: Red Hat Event API - An API that gives information about the Red Hat Event + version: 2.0.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: + oidc: + type: oauth2 + flow: accessCode + authorizationUrl: https://filled-later.dummy/auth + tokenUrl: https://filled-later.dummy/token + scopes: + openid: Get an OpenID Connect token +security: +- oidc: + - openid \ No newline at end of file