Generic Commit; Most likely a fix or small feature
This commit is contained in:
@@ -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, {
|
||||||
|
|||||||
Reference in New Issue
Block a user