We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
The following OpenAPI component:
MultiValueMapStringString: type: object properties: all: type: object additionalProperties: type: string writeOnly: true empty: type: boolean additionalProperties: type: array items: type: string
Generates the following invalid Typescript:
MultiValueMapStringString: { all?: { [key: string]: string | undefined; }; empty?: boolean; [key: string]: string[] | undefined; };
Property 'all' of type '{ [key: string]: string; }' is not assignable to 'string' index type 'string[]'.ts(2411)
openapi-typescript
6.3.9
18.16.0
macOS 13.2.1
Reproduction
The schema above should generate the invalid Typescript
Expected result
Checklist
npx @redocly/cli@latest lint
The text was updated successfully, but these errors were encountered:
This is a duplicate of other issues, but tracking in #1018. Though the problem isn’t completely fixed yet, it will be in an upcoming version.
Sorry, something went wrong.
No branches or pull requests
Description
The following OpenAPI component:
Generates the following invalid Typescript:
openapi-typescript
6.3.9
18.16.0
macOS 13.2.1
Reproduction
The schema above should generate the invalid Typescript
Expected result
Checklist
npx @redocly/cli@latest lint
) - lots of little nits about summaries and such, but overall yesThe text was updated successfully, but these errors were encountered: