OpenAPITools / OpenAPITools/openapi-generator
[REQ] can generate parameters with specify prefix
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
can generate parameters with specify prefix
origin yaml has some parameters that is start with number character,because the yaml file is standard in some professional area, i can not change the yaml file
when generate to go language,go do not allow identifier start with number character
can specify prefix to generate identifier start with the specify prefix , Prefix can be specified through command line parameters
Can you support my request
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
Start by tracing how the Go generator turns OpenAPI YAML parameter names into identifiers and how command-line options are defined. Done means a configurable prefix can be supplied through the CLI and applied when generated Go parameter identifiers would otherwise begin with a number.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, java, openapi
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100