swagger-api / swagger-api/swagger-codegen
[Powershell] when package name is changed api and model are still generated in the default folder
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
when package name is changed api and model are still generated in the default folder (Swagger.IO) the rest is generated in the specififed folder
Swagger-codegen version
current master
Swagger declaration file content or url
any api generate not in the default package
Command line used for generation
regular powershell api generation, setting a custom packageName in the config file.
Steps to reproduce
regular powershell api generation, setting a custom packageName in the config file.
Suggest a fix/enhancement
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked PR #9752 and reproduce the issue with the petstore.yaml declaration using a custom packageName in the Powershell generation config. Check that the generated API and model files use the specified package folder rather than the default Swagger.IO folder, while the other generated files remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100