Closed nidhi-kala closed 1 year ago
Fixes https://github.com/fastify/fastify-swagger/issues/705
Type '"null"' is not assignable to type 'NonArraySchemaObjectType | undefined'.
By using OpenAPIV3_1.Document instead of OpenAPIV3.Document as type for Fastify dynamic swagger options, openapi config.
OpenAPIV3_1.Document
OpenAPIV3.Document
npm run test
npm run benchmark
Fixes https://github.com/fastify/fastify-swagger/issues/705
By using
OpenAPIV3_1.Document
instead ofOpenAPIV3.Document
as type for Fastify dynamic swagger options, openapi config.Checklist
npm run test
andnpm run benchmark