diff --git a/backup/openapi-spec-v1.0.yaml b/backup/openapi-spec-v1.0.yaml new file mode 100644 index 0000000..a625da3 --- /dev/null +++ b/backup/openapi-spec-v1.0.yaml @@ -0,0 +1,31 @@ +--- +swagger: 2.0 +info: + title: RHTE API + description: An API that gives information about the Red Hat Tech Exchange. + version: 1.0.0 +paths: + /location: + get: + summary: Get Next RHTE Location + description: Get the location of the next RedHat Tech Exchange + operationId: GetLocation + responses: + 200: + description: OK + /timeframe: + get: + summary: Get Next RHTE Timeframe + description: Get the timeframe of the next RedHat Tech Exchange + 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/backup/openapi-spec-v1.1.yaml b/backup/openapi-spec-v1.1.yaml new file mode 100644 index 0000000..f703219 --- /dev/null +++ b/backup/openapi-spec-v1.1.yaml @@ -0,0 +1,39 @@ +--- +swagger: 2.0 +info: + title: RHTE API + description: An API that gives information about the Red Hat Tech Exchange. + version: 1.1.0 +paths: + /location: + get: + summary: Get Next RHTE Location + description: Get the location of the next RedHat Tech Exchange + operationId: GetLocation + responses: + 200: + description: OK + /timeframe: + get: + summary: Get Next RHTE Timeframe + description: Get the timeframe of the next RedHat Tech Exchange + operationId: GetTimeframe + responses: + 200: + description: OK + /participants: + get: + summary: Get Next RHTE Participants + description: Get the participants of the next RedHat Tech Exchange + 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/backup/openapi-spec-v2.0.yaml b/backup/openapi-spec-v2.0.yaml new file mode 100644 index 0000000..641637e --- /dev/null +++ b/backup/openapi-spec-v2.0.yaml @@ -0,0 +1,42 @@ +--- +swagger: 2.0 +info: + title: RHTE API + description: An API that gives information about the Red Hat Tech Exchange. + version: 2.0.0 +paths: + /location: + get: + summary: Get Next RHTE Location + description: Get the location of the next RedHat Tech Exchange + operationId: GetLocation + responses: + 200: + description: OK + /timeframe: + get: + summary: Get Next RHTE Timeframe + description: Get the timeframe of the next RedHat Tech Exchange + operationId: GetTimeframe + responses: + 200: + description: OK + /participants: + get: + summary: Get Next RHTE Participants + description: Get the participants of the next RedHat Tech Exchange + 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 diff --git a/openapi-spec.yaml b/openapi-spec.yaml new file mode 100644 index 0000000..a625da3 --- /dev/null +++ b/openapi-spec.yaml @@ -0,0 +1,31 @@ +--- +swagger: 2.0 +info: + title: RHTE API + description: An API that gives information about the Red Hat Tech Exchange. + version: 1.0.0 +paths: + /location: + get: + summary: Get Next RHTE Location + description: Get the location of the next RedHat Tech Exchange + operationId: GetLocation + responses: + 200: + description: OK + /timeframe: + get: + summary: Get Next RHTE Timeframe + description: Get the timeframe of the next RedHat Tech Exchange + operationId: GetTimeframe + responses: + 200: + description: OK +securityDefinitions: + apikey: + type: apiKey + description: Use a 3scale API Key + name: api-key + in: header +security: +- apikey: []