-
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 #6827
base: master
Are you sure you want to change the base?
[DX-1780]Generate test for tyk gateway swagger #6827
Conversation
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: generate-test-for-tyk-gateway-open-api-spec-improved Your PR title: add swagger file empty string Your PR description: DescriptionRelated IssueMotivation and ContextHow This Has Been TestedScreenshots (if appropriate)Types of changes
Checklist
If this is your first time contributing to this repository - welcome! Please refer to jira-lint to get started. Without the JIRA Issue ID in your branch name you would lose out on automatic updates to JIRA via SCM; some GitHub status checks might fail. Valid sample branch names:‣ feature/shiny-new-feature--mojo-10' |
Swagger Changes
_ __ __
nullable: true
_| |_ _ / _|/ _| between swagger-prev.yml
+ one list entry added:
+ one map entry added:
- one list entry removed: + one list entry added:
± value change
/ _' | | | | |_| |_ and swagger-current.yml
\__,_|\__, |_| |_| returned four differences
components.schemas.GraphQLConfig.properties.execution_mode.enum
components.schemas.GraphQLConfig.properties.version.enum
components.schemas.RateLimitSmoothing
paths./tyk/certs/{certID}.get.tags.0
| (_| | |_| | _| _| |
API Changes no api changes detected |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Quality Gate failedFailed conditions |
…f github.com:TykTechnologies/tyk into generate-test-for-tyk-gateway-open-api-spec-improved
DX-1780
User description
DX-1780
Description
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
PR Type
Tests, Enhancement
Description
Added a pre-request script for Tyk Gateway reload.
Configured Portman CLI for OpenAPI specification testing.
Introduced test cases for API and policy management.
Updated Swagger schema to allow empty string values.
Changes walkthrough 📝
prescript.js
Add pre-request script for Tyk Gateway reload
ci/tests/schema/specs/config/prescript.js
swagger.yml
Update Swagger schema to allow empty strings
swagger.yml
Taskfile.yml
Configure tasks for OpenAPI specification tests
ci/tests/schema/specs/Taskfile.yml
portman-cli-options.json
Add Portman CLI configuration for testing
ci/tests/schema/specs/config/portman-cli-options.json
portmanconfig.json
Define Portman configuration for OpenAPI tests
ci/tests/schema/specs/config/portmanconfig.json
package.json
Add Portman dependency and npm script
ci/tests/schema/specs/package.json
populate_gateway_test_data.yaml
Add test cases for API and Gateway management
ci/tests/schema/specs/testdata/populate_gateway_test_data.yaml