Closed LarsOlt closed 2 years ago
Description
Source:
Output:
Expected:
"image-path": string | null
openapi-typescript
5.4.1
16.18.0
Win 11
Reproduction
How can this be reproduced / when did the error occur?
I am using the https://developers.themoviedb.org/ OAS API definition.
npx openapi-typescript https://api.stoplight.io/v1/versions/9WaNJfGpnnQ76opqe/export/oas.json --output tmdb-oas.ts
Expected result
(in case it’s not obvious)
Checklist
Seems to be related to https://github.com/drwpow/openapi-typescript/issues/898 ?
Thank you for raising! v6 will add OpenAPI 3.1 support so will make sure this makes it in.
Description
Source:
Output:
Expected:
"image-path": string | null
openapi-typescript
5.4.1
16.18.0
Win 11
Reproduction
How can this be reproduced / when did the error occur?
I am using the https://developers.themoviedb.org/ OAS API definition.
npx openapi-typescript https://api.stoplight.io/v1/versions/9WaNJfGpnnQ76opqe/export/oas.json --output tmdb-oas.ts
Expected result
(in case it’s not obvious)
Checklist