Lukas Scholten

Results 3 comments of Lukas Scholten

As a workaround you could register the securitySchemas right before calling `app.doc31` ``` app.openAPIRegistry.registerComponent("securitySchemes", "bearerAuth", { type: 'http', scheme: 'bearer', bearerFormat: 'JWT', description: 'JWT Authentication', }); ```

You can achieve this by setting a limit based on the session/auth state `limit: (c) => c.get("auth")?.rateLimitMax ?? 100`