Generic Commit; Most likely a fix or small feature

This commit is contained in:
Darius
2025-11-22 03:37:21 +01:00
parent b2f6820f6c
commit 8dd3cc846f

View File

@@ -5,6 +5,7 @@ import type { FastifyReply, FastifyRequest } from "fastify";
import Fastify from "fastify"; import Fastify from "fastify";
import fastifyAxios from "fastify-axios"; import fastifyAxios from "fastify-axios";
import { import {
jsonSchemaTransform,
serializerCompiler, serializerCompiler,
validatorCompiler, validatorCompiler,
type ZodTypeProvider, type ZodTypeProvider,
@@ -32,6 +33,7 @@ await fastify.register(fastifySwagger, {
}, },
servers: [{ url: "http://localhost:8080", description: "Development" }], servers: [{ url: "http://localhost:8080", description: "Development" }],
}, },
transform: jsonSchemaTransform,
}); });
await fastify.register(fastifySwaggerUi, { await fastify.register(fastifySwaggerUi, {