swagger-api / swagger-api/swagger-codegen

[Groovy] Path parameters not working in Groovy API client

Open
#5,047 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.