scalar / openapi-parser

Modern OpenAPI parser written in TypeScript
MIT License
34 stars 1 forks source link

x-* attributes aren’t allowed in schemas #160

Closed hanspagel closed 2 months ago

hanspagel commented 3 months ago

Element implicitly has an 'any' type because expression of type '"x-internal"' can't be used to index type 'OpenAPIV3.SchemaObject | OpenAPIV3_1.SchemaObject | OpenAPIV2.SchemaObject'. Property 'x-internal' does not exist on type 'OpenAPIV3.SchemaObject | OpenAPIV3_1.SchemaObject | OpenAPIV2.SchemaObject'.

hanspagel commented 2 months ago

Fixed in the next release. See #166. :)