From 506d256b388ff94c283b701f4ec69125dcd34830 Mon Sep 17 00:00:00 2001 From: Daniel Kmiecik Date: Mon, 21 Jul 2025 12:52:23 +0200 Subject: [PATCH] chore: add GitHub issue and pull request templates --- .github/ISSUE_TEMPLATE.md | 46 --------- .github/ISSUE_TEMPLATE/01_bug_report.md | 103 +++++++++++++++++++ .github/ISSUE_TEMPLATE/02_question.md | 75 ++++++++++++++ .github/ISSUE_TEMPLATE/03_feature_request.md | 66 ++++++++++++ 4 files changed, 244 insertions(+), 46 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/01_bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/02_question.md create mode 100644 .github/ISSUE_TEMPLATE/03_feature_request.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 0c85113914f..00000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,46 +0,0 @@ - - -##### Description - - - -##### Swagger-codegen version - - - -##### Swagger declaration file content or url - - - -##### Command line used for generation - - - -##### Steps to reproduce - - - -##### Related issues/PRs - - - -##### Suggest a fix/enhancement - - - diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.md b/.github/ISSUE_TEMPLATE/01_bug_report.md new file mode 100644 index 00000000000..8ac0db70bd9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01_bug_report.md @@ -0,0 +1,103 @@ +--- +name: "Bug Report" +about: Report a reproducible issue with swagger-codegen +title: "[Bug]: " +labels: Bug +assignees: '' +--- + +## Description + + + +## Swagger Codegen Version + + + +## Language / Generator + + + +## OpenAPI/Swagger Spec + + + +```yaml +# example snippet or URL to full spec +``` +## Command Line Used + + + +```bash +swagger-codegen generate -i petstore.yaml -l java -o output-folder +``` + +## Steps to Reproduce + + + +## Expected Behavior + + + +## Actual Behavior + + + +## Related Issues / Repos + + + +## Environment + +- OS: +- Java Version: +- Build Tool: +- Swagger Codegen CLI version: + +## Additional Context + + + +## Checklist + +- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-codegen/issues) to make sure this is not a duplicate. +- [ ] I have included a minimal and reproducible spec example. +- [ ] I have explained how to reproduce the issue. +- [ ] I have specified which generator/language is affected. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/02_question.md b/.github/ISSUE_TEMPLATE/02_question.md new file mode 100644 index 00000000000..fc2cff5e9b1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02_question.md @@ -0,0 +1,75 @@ +--- +name: "Question" +about: Ask a question about using swagger-codegen +title: "[Question]: " +labels: Question +assignees: '' +--- + +## Question + + + +## Swagger Codegen Version + + + +## Language / Generator + + + +## OpenAPI/Swagger Spec + + + +## Command or Configuration Used + + + +```bash +swagger-codegen generate -i your-spec.yaml -l typescript-axios -o output/ +``` + +## What Have You Tried? + + + +## Additional Details + + + +## Checklist + +- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-codegen/issues) and documentation. +- [ ] I have provided enough context for maintainers to understand the question. +- [ ] This is not a feature request or bug report. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/03_feature_request.md b/.github/ISSUE_TEMPLATE/03_feature_request.md new file mode 100644 index 00000000000..0b37abdb25b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03_feature_request.md @@ -0,0 +1,66 @@ +--- +name: "Feature Request" +about: Suggest an enhancement or new functionality for swagger-codegen +title: "[Feature]: " +labels: Feature +assignees: '' +--- + +## Feature Description + + + +## Use Case + + + +## Suggested Solution (optional) + + + +## Alternatives Considered + + + +## Additional Context + + + +## Checklist + +- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-codegen/issues) to make sure this feature hasn’t been requested already. +- [ ] This feature would be useful to more than just my use case. +- [ ] I have provided enough technical context to understand the request. \ No newline at end of file