Where a route-listing snippet stops
- The whole module graph must resolve its dependencies before discovery can run, which usually needs a working configuration and database connection.
- Global prefixes, URI versioning, and RouterModule paths are applied outside controller metadata and have to be added to each path separately.
- Endpoints marked with @ApiExcludeEndpoint or @ApiExcludeController stay reachable but are absent from the generated Swagger document.
- Decorator metadata does not show guards, DTO validation, or which module imported a controller unless you inspect each one explicitly.