You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your docs and sample project a x-express-openapi-disable-validation-middleware can be added at a top-level api-doc.
However! Configuring top-level api-doc like so in TypeScript results in an error:
Object literal may only specify known properties, and ''x-express-openapi-disable-validation-middleware'' does not exist in type 'Document<{}>'.ts(2353)
(property) 'x-express-openapi-disable-validation-middleware': boolean
Code to reproduce - just use schema with the mentioned vendor extension:
In your docs and sample project a
x-express-openapi-disable-validation-middleware
can be added at a top-level api-doc.However! Configuring top-level api-doc like so in TypeScript results in an error:
Code to reproduce - just use schema with the mentioned vendor extension:
The
initialize
function acceptsOpenAPIV3.Document
, but this in turn has some props described here missing:https://github.com/kogosoftwarellc/open-api/blob/main/packages/openapi-types/index.ts#L271
The text was updated successfully, but these errors were encountered: