-
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
Add OpenAPI document generation functionality #5436
base: master
Are you sure you want to change the base?
Conversation
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
PR Analysis
PR Feedback
How to use
|
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
GitHub actions yielded the following error. The relevant lines from the logs corresponding to the error are:
The command that failed is There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR. This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. |
Hi @sweep-ai[bot], I decided to make the following changes:
|
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
API tests result: failure 🚫 |
Hi @Tyk-ITS, I decided to make the following changes:
|
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
API tests result: failure 🚫 |
API tests result: failure 🚫 |
API tests result: failure 🚫 |
API tests result: failure 🚫 |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
API tests result: failure 🚫 |
Hi @Tyk-ITS, I decided to make the following changes:
|
API tests result: failure 🚫 |
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
1 similar comment
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
Hi @Tyk-ITS, I decided to make the following changes:
|
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
1 similar comment
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
API tests result: failure 🚫 |
API tests result: failure 🚫 |
Hi @Tyk-ITS, I decided to make the following changes:
|
API tests result: failure 🚫 |
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
1 similar comment
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
Hi @Tyk-ITS, I decided to make the following changes:
|
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
1 similar comment
A JIRA Issue ID is missing from your branch name, PR title and PR description! 🦄 Your branch: sweep/openapi-generation Your PR title: Add OpenAPI document generation functionality Your PR description: ## Description This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the `/gateway/server.go` file. Summary
Please review and merge this PR to enable the generation of the OpenAPI document from the source code. Fixes #5435. To checkout this PR branch, run the following command in your terminal: git checkout sweep/openapi-generation To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR. 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' |
💥 CI tests failed 🙈git-stateall ok Please look at the run or in the Checks tab. |
API tests result: failure 🚫 |
Hi @Tyk-ITS, I decided to make the following changes:
|
API tests result: failure 🚫 |
Hi @Tyk-ITS, I decided to make the following changes:
|
Description
This PR adds functionality to generate a valid OpenAPI v3.0.3 document from the source code of the project. The entry point for the generation process is the
/gateway/server.go
file.Summary
gateway/openapi_generator.go
that contains the logic for generating the OpenAPI document.GenerateOpenAPIDocument
function inopenapi_generator.go
to traverse the source code and generate the corresponding OpenAPI components.gateway/server.go
file to import theopenapi_generator
package and call theGenerateOpenAPIDocument
function after the server has been initialized.Please review and merge this PR to enable the generation of the OpenAPI document from the source code.
Fixes #5435.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.