-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DX-1780]Generate test for tyk gateway swagger #6760
base: master
Are you sure you want to change the base?
Conversation
This PR is too huge for one to review 💔
Consider breaking it down into multiple small PRs. Check out this guide to learn more about PR best-practices. |
Swagger Changes
_ __ __
_| |_ _ / _|/ _| between swagger-prev.yml
+ one list entry added:
+ one list entry added:
+ one list entry added:
+ one list entry added:
- one list entry removed:
- one list entry removed:
- one list entry removed:
- one list entry removed:
± value change
± value change
/ _' | | | | |_| |_ and swagger-current.yml
\__,_|\__, |_| |_| returned six differences
paths./tyk/apis/oas.get.responses.200.content.application/json.schema.items.allOf
paths./tyk/apis/oas.post.requestBody.content.application/json.schema.allOf
paths./tyk/apis/oas/import.post.requestBody.content.application/json.schema.$ref
paths./tyk/apis/oas/{apiID}.get.responses.200.content.application/json.schema.allOf
paths./tyk/apis/oas/{apiID}.patch.requestBody.content.application/json.schema.$ref
paths./tyk/apis/oas/{apiID}.put.requestBody.content.application/json.schema.allOf
| (_| | |_| | _| _| |
API Changes no api changes detected |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
Quality Gate failedFailed conditions |
User description
DX-1780
DX-1780
PR Type
Tests, Enhancement
Description
.redocly.lint-ignore.yaml
andswagger.yml
to use a local copy hosted in the Tyk repository.tests/schema/api_operations.yaml
, including create, delete, and update operations with HTTP assertions.package.json
file to manage dependencies and scripts, including Portman for contract testing.portman-cli-options.json
) to define local OpenAPI file, base URL, and output settings for Postman collections.portmanconfig.json
) to define contract tests, variable assignments, request overwrites, and global settings for API testing.Changes walkthrough 📝
.redocly.lint-ignore.yaml
Update OpenAPI schema reference to local Tyk-hosted copy
.redocly.lint-ignore.yaml
the Tyk repository.
swagger.yml
Replace OpenAPI schema references with Tyk-hosted schema
swagger.yml
schema references.
api_operations.yaml
Add test cases for API and policy management
tests/schema/api_operations.yaml
delete, and update operations.
portmanconfig.json
Add Portman configuration for contract testing
tests/schema/portmanconfig.json
OpenAPI operations.
package.json
Add package.json for Portman dependency and scripts
tests/schema/package.json
portman-cli-options.json
Add Portman CLI options configuration
tests/schema/portman-cli-options.json
Postman collections.