How I can romove extra endpoint from swagger docs generator

Hi.
When I run /cbSwagger ,
JSON created with the following endpoints. in the screenshot.

but I want to remove this /relax/api-docs/ and /cbswagger/yml etc from my doc.

How I can remove this? I tried but when remove handler then generator not working.

Hey Taleem!
It sounds like you may be missing some crucial steps in the documentation.

I would take a look at the CBSwagger docs, and try adjusting either the excludeRoutes configuration option or the routes config option.

https://www.forgebox.io/view/cbswagger#configure-cbswagger-to-auto-detect-your-api-routes

Thanks let me check once again