swagger-api / swagger-api/swagger-codegen-generators
[okhttp-gson] GSON config does not include discriminator type adapters
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 299
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
2.x implementation sets up adapters based on discriminator. The new one does not.
Is it made on purpose?
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 referenced 2.x Java JSON.mustache implementation with the newer modules/swagger-codegen-generators/src/main/resources/v2/Java/libraries/okhttp-gson/JSON.mustache template. Start at the linked discriminator adapter setup and determine whether its absence is intentional; done means the template behavior is clarified and aligned with the intended implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100