OpenAPITools / OpenAPITools/openapi-generator

Question anout typescript - angular

Open
#16,231 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

I seem not be able to find this issue, but can't imagine I'm alone?
When using OpenAPI 3.1.0, while it all generates, all my properties are 'any' while they should be string, number, etc.
I'm using 6.6.0 and the issue goes away if I change to OpenAPI 3.0.3. Is this expected, can I help?

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 report with OpenAPI 3.1.0 and generator 6.6.0 for an Angular TypeScript client, then compare the generated property types with the same input under OpenAPI 3.0.3. Done means determining whether the reported any types are expected or correcting the generated types for OpenAPI 3.1.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, openapi, typescript
Domain
api, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.