swagger-api / swagger-api/swagger-codegen

[Java][Retrofit2] Add @QueryMap support for Retrofit API

Open
#11,096 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Could you please add QueryMap support for swagger-codegen for retrofit2 library, java language?

I need the same thing for retrofit2, as it was done for feint here

https://github.com/swagger-api/swagger-codegen/issues/5143
https://github.com/swagger-api/swagger-codegen/pull/5143/files

Swagger-codegen version

io.swagger.codegen.v3:swagger-codegen:3.0.24

Related issues/PRs

https://github.com/swagger-api/swagger-codegen/issues/5143
https://github.com/swagger-api/swagger-codegen/pull/5143/files

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

Start with the linked issue #5143 and pull request #5143, which show the analogous implementation. Then locate the Java Retrofit2 generation templates and determine how the requested @QueryMap support should be represented. Done means generated Retrofit2 clients provide QueryMap support matching the referenced implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.