Skip to content

Commit

Permalink
Revert "Hide bull routes from schema/openAPI generation (#762)"
Browse files Browse the repository at this point in the history
This reverts commit 3568146.
  • Loading branch information
felixmosh committed Jun 5, 2024
1 parent 1627949 commit fc7fd2b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/fastify/src/FastifyAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand All @@ -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,
Expand Down

0 comments on commit fc7fd2b

Please sign in to comment.