swagger-api / swagger-api/swagger-codegen

I cannot find a proper schema "title" property usage

Open
#9,860 0 comments 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

Tested in context of : "library" set to "okhttp-gson".

My humble understanding is that should leads e.g. to rename a field in generated class, but seems not.

Frankly speaking I would like to see option to adjust generated field naming in case of generating a client to avoid chosen language limit of field naming.

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 reproducing the schema title behavior with the okhttp-gson library and inspect the generated client field names. Determine whether the title should rename generated fields or whether a separate naming option is needed; done means the intended behavior is documented and covered for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
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.