diff --git a/src/api_whep.ts b/src/api_whep.ts index 0057d98..adf4fe0 100644 --- a/src/api_whep.ts +++ b/src/api_whep.ts @@ -314,6 +314,10 @@ export const apiWhep: FastifyPluginCallback = ( { schema: { description: 'CORS preflight and WHEP discovery endpoint', + params: Type.Object({ + productionId: Type.String({ minLength: 1, maxLength: 200 }), + lineId: Type.String({ minLength: 1, maxLength: 200 }) + }), response: { 200: Type.String({ description: 'OK' }) } diff --git a/src/api_whip.ts b/src/api_whip.ts index 52d82ed..0e918f0 100644 --- a/src/api_whip.ts +++ b/src/api_whip.ts @@ -315,6 +315,10 @@ export const apiWhip: FastifyPluginCallback = ( { schema: { description: 'CORS preflight and WHIP discovery endpoint', + params: Type.Object({ + productionId: Type.String({ minLength: 1, maxLength: 200 }), + lineId: Type.String({ minLength: 1, maxLength: 200 }) + }), response: { 200: Type.String({ description: 'OK' }) }