fastify-oas icon indicating copy to clipboard operation
fastify-oas copied to clipboard

Using with the latest version of fastify 3.x.x and typescript definitions do not augment the schema

Open namello-zmtp opened this issue 4 years ago • 1 comments

I am unable to build using fastify-oas due to typescript being unable to resolve the augmentations made to the route schema. It also appears that the register schema isn't being loaded either.

namello-zmtp avatar Sep 10 '20 11:09 namello-zmtp

it seems related to RouteSchema being renamed to FastifySchema. See https://github.com/fastify/fastify-swagger/commit/433fd0559cf0965afffcaa49865570ab43c31a81 for referenced.

abarre avatar Nov 26 '20 08:11 abarre