swagger-api / swagger-api/swagger-codegen
Provision for @RequestMapping in Spring API template - OPEN API 3.0
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Issue is similar to the one reported in "[Spring] Fixes #5244 Include basePath @RequestMapping in Spring API template " (https://github.com/swagger-api/swagger-codegen/pull/8131)
For OPEN API 3.0 using swagger code generator do we have facility to define basepath and get it mapped to @RequestMapping in api.mustache file?
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 the Spring API template in api.mustache and compare the requested OpenAPI 3.0 behavior with the approach described in PR #8131. Confirm how the base path is represented in the OpenAPI definition and whether the generated @RequestMapping should include it; done means the template produces the expected mapping for an OpenAPI 3.0 input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, spring
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100