swagger-api / swagger-api/swagger-codegen
[Groovy] Path parameters not working in Groovy API client
Open
Nobody has claimed this yet.
Client: Groovy
help wanted
Issue: Bug
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Currently, path parameters do not work in Groovy API client as {{pathParameters}} is not used at all.
Swagger-codegen version
Latest master
Related issues
https://github.com/swagger-api/swagger-codegen/pull/5030
Suggest a Fix
We can use similar code that is already in the Java's API mustache template.
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
Compare the Groovy API mustache template with the Java API mustache template, focusing on how {{pathParameters}} is handled. Confirm the generated Groovy client substitutes path parameters correctly, using the related pull request for context, and verify that existing client generation behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100