#Exclude routes by (controller) prefix(es)

3 messages · Page 1 of 1 (latest)

regal steppe
#

Is it possible to somehow exclude duplicate routes from the documentation?

@Controller(['/api/v1/rate-plan', '/intraapi/rate-plan', '/fegw/rate-plan'])
export class RatePlanController {}

I want only one of the options in the documentation so that they are not duplicated(see screenshot).

Is it possible?

I did not find such options in the documentation.
And the @ApiExcludeEndpoint() decorator excludes the entire route, and I only need to remove its duplicates.

golden matrix
#

use the @ApiExcludeController() decorator to exclude specific endpoints

raw prism
#

I have this exact same issue. @ApiExcludeController() excludes the entire controller and does not appear to take any arguments for specific endpoints. @regal steppe did you find a solution?