Skip to content

Commit 3707a89

Browse files
committed
refactor: Add missing route to OPENAPI_ROUTES
1 parent ee9c4ee commit 3707a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/middleware/open-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import swagger from "@fastify/swagger";
22
import type { FastifyInstance } from "fastify";
33

4-
export const OPENAPI_ROUTES = ["/json", "/openapi.json"];
4+
export const OPENAPI_ROUTES = ["/json", "/openapi.json", "/json/"];
55

66
export const withOpenApi = async (server: FastifyInstance) => {
77
await server.register(swagger, {

0 commit comments

Comments
 (0)