We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6a7c9 commit dc528abCopy full SHA for dc528ab
src/server/middleware/open-api.ts
@@ -1,7 +1,7 @@
1
import swagger from "@fastify/swagger";
2
import type { FastifyInstance } from "fastify";
3
4
-export const OPENAPI_ROUTES = ["/json", "/openapi.json"];
+export const OPENAPI_ROUTES = ["/json", "/openapi.json", "/json/"];
5
6
export const withOpenApi = async (server: FastifyInstance) => {
7
await server.register(swagger, {
0 commit comments