swagger-api / swagger-api/swagger-codegen-generators

[Protobuf-support] Can we have Tag support in generated client to improve response time

Open
#586 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
299
Forks
439
PR merge metrics
No merged PRs in 30d

Description

Currently there are annotations which are not supported in codegen like jsonInclude or Tag .So How can we give support to this ?
Also i have some annotations that i have defined in my model class but when we get the swagger generated client it puts some annotations automatically and remove the existing one .
Is there a way by which we can persist the annotations in swagger generated client as well.

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 by tracing the protobuf-support path that generates the client and locating how model annotations are read and rendered. Determine whether Tag and jsonInclude support, plus preservation of user-defined annotations, can be specified consistently; done means generated clients retain the intended annotations without removing existing ones and response-time concerns are addressed.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.