feat(openAPI-union) Add type support for unions with additionalProperties to provide ts intellisense #3493
Annotations
6 errors
|
lint
Process completed with exit code 2.
|
|
lint
openapi-typescript#lint: command (/home/runner/work/openapi-typescript/openapi-typescript/packages/openapi-typescript) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (2)
|
|
lint
Argument of type 'unknown' is not assignable to parameter of type 'ReferenceObject | SchemaObject'.
|
|
lint
Property 'patternProperties' does not exist on type '({ [key: `x-${string}`]: any; discriminator?: DiscriminatorObject | undefined; xml?: XMLObject | undefined; externalDocs?: ExternalDocumentationObject | undefined; ... 16 more ...; required?: string[] | undefined; } & StringSubtype) | ... 5 more ... | ({ ...; } & { ...; })'.
|
|
lint
Property 'patternProperties' does not exist on type '({ [key: `x-${string}`]: any; discriminator?: DiscriminatorObject | undefined; xml?: XMLObject | undefined; externalDocs?: ExternalDocumentationObject | undefined; ... 16 more ...; required?: string[] | undefined; } & StringSubtype) | ... 5 more ... | ({ ...; } & { ...; })'.
|
|
lint
Property 'patternProperties' does not exist on type '({ [key: `x-${string}`]: any; discriminator?: DiscriminatorObject | undefined; xml?: XMLObject | undefined; externalDocs?: ExternalDocumentationObject | undefined; ... 16 more ...; required?: string[] | undefined; } & StringSubtype) | ... 5 more ... | ({ ...; } & { ...; })'.
|