hide event register from schema
This commit is contained in:
@@ -15,11 +15,12 @@ export async function sseRoutes(
|
|||||||
},
|
},
|
||||||
) {
|
) {
|
||||||
fastify.get(
|
fastify.get(
|
||||||
"/events",
|
"/registerForEvents",
|
||||||
{
|
{
|
||||||
schema: {
|
schema: {
|
||||||
description: "Register for SSE",
|
description: "Register for SSE",
|
||||||
tags: ["sse"],
|
tags: ["sse"],
|
||||||
|
hide: true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
async (request, reply) => {
|
async (request, reply) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user