From 8dd3cc846f0a886a62ae92e36300805b1a90113f Mon Sep 17 00:00:00 2001 From: Darius Date: Sat, 22 Nov 2025 03:37:21 +0100 Subject: [PATCH] Generic Commit; Most likely a fix or small feature --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index dc2b4b8..f1165ca 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,6 +5,7 @@ import type { FastifyReply, FastifyRequest } from "fastify"; import Fastify from "fastify"; import fastifyAxios from "fastify-axios"; import { + jsonSchemaTransform, serializerCompiler, validatorCompiler, type ZodTypeProvider, @@ -32,6 +33,7 @@ await fastify.register(fastifySwagger, { }, servers: [{ url: "http://localhost:8080", description: "Development" }], }, + transform: jsonSchemaTransform, }); await fastify.register(fastifySwaggerUi, {