swagger-api / swagger-api/swagger-codegen
swagger codegen
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
two api's with same operationid, ex List is prefixed with request.
the operationid is removed the prefix with --remove-operation-id-prefix command as michael cheng suggested.
Now the problem is even path also getting prefixed with the request. is there any option to remove the prefix as i did it for operationid. is there any option to remove the path prefix.
Please suggest.
Description
Swagger-codegen version
swagger-codegen-2.2.3 latest stable release.
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
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 with swagger-codegen 2.2.3 and a minimal Swagger/OpenAPI declaration containing duplicate operationIds; the issue provides no declaration, command, target language, or generated output. Compare generation with --remove-operation-id-prefix and trace where the request/path prefix is applied. Done means the path-prefix behavior has a defined resolution and is covered by an appropriate regression test or documentation update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100