Skip to content

Reusing the same router from multiple places #2

@eXigentCoder

Description

@eXigentCoder

Given that you have a defined router, routerA.
If you have code along the lines of:

router.use('/myFirstRoute', routerA);
router.use('/mySecondRoute', routerA);

The swagger document only outputs the one route.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions