swagger-api / swagger-api/swagger-codegen
[TYPESCRIPT/ANGULAR] / BUG / PascalCase generated to CamelCase
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
When Angular-Code is generated for this scheme:
pictures:
type: object
properties:
Banner:
type: array
items:
$ref: '#/components/schemas/ICoursePicture'
Content:
type: array
items:
$ref: '#/components/schemas/ICoursePicture'
the properties "Banner" and "Content" are generated as "banner" and "content". Is this a bug? Can it somehow be changed?
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
Reproduce Angular-Code generation with the provided schema, focusing on the PascalCase properties Banner and Content under pictures. Check where property names are transformed and verify that the generated Angular output preserves the requested casing without changing other generated names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100