Skip to content

feat(openAPI-union) Add type support for unions with additionalProperties to provide ts intellisense #3493

feat(openAPI-union) Add type support for unions with additionalProperties to provide ts intellisense

feat(openAPI-union) Add type support for unions with additionalProperties to provide ts intellisense #3493

Triggered via pull request February 12, 2026 12:31
@remy90remy90
synchronize #2415
remy90:main
Status Failure
Total duration 2m 25s
Artifacts

ci.yml

on: pull_request
Matrix: test-node-versions
Fit to window
Zoom out
Zoom in

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 ... | ({ ...; } & { ...; })'.