From fc7fd2b86b88bdc230c9a7bb9f9844595a5de722 Mon Sep 17 00:00:00 2001 From: Felix Mosheev <9304194+felixmosh@users.noreply.github.com> Date: Wed, 5 Jun 2024 21:05:53 +0300 Subject: [PATCH] Revert "Hide bull routes from schema/openAPI generation (#762)" This reverts commit 356814621f87ad8a54addaf25ed534ee1004bc73. --- packages/fastify/src/FastifyAdapter.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/fastify/src/FastifyAdapter.ts b/packages/fastify/src/FastifyAdapter.ts index bdbbe836..eedaa904 100644 --- a/packages/fastify/src/FastifyAdapter.ts +++ b/packages/fastify/src/FastifyAdapter.ts @@ -122,9 +122,6 @@ export class FastifyAdapter implements IServerAdapter { fastify.route({ method, url, - schema: { - hide: true - }, handler: (_req, reply) => { const { name, params } = handler({ basePath: this.basePath, uiConfig: this.uiConfig }); @@ -137,9 +134,6 @@ export class FastifyAdapter implements IServerAdapter { fastify.route({ method: route.method, url: route.route, - schema: { - hide: true - }, handler: async (request, reply) => { const response = await route.handler({ queues: this.bullBoardQueues as any,