Open
Description
how to remove the that regexp from each router starter ?
"express": "^4.17.3,"
"express-zod-openapi-autogen": "^6.0.0"
my code is kinda:
/**
* const otherRouter = express.router()
* otherRouter.get('/', ...)
*/
import { otherRouter } from './routers/other'
const mainRouter = express.router()
mainRouter.use('/other', otherRouter)
const swaggerDoc = buildOpenAPIDocument({
routers: [mainRouter],
// ...
})
example:
/ping\/?(?=\/|$)/i/
expected:
/ping/

Metadata
Metadata
Assignees
Labels
No labels