RapiDoc icon indicating copy to clipboard operation
RapiDoc copied to clipboard

Is there an option to hide internal endpoints?

Open AlaNDGT opened this issue 2 years ago • 3 comments

Is there currently an option to hide endpoints marked as internal using x-internal?

AlaNDGT avatar Feb 08 '23 07:02 AlaNDGT

no there is none at the moment

mrin9 avatar Feb 08 '23 09:02 mrin9

Planning to support it in the future?

Guess there's a ticket being discussed for an official spec but does not look like there will be anything out of it.

AlaNDGT avatar Feb 08 '23 10:02 AlaNDGT

We've made a separate apidoc (/apidoc vs /apidoc/internal) to handle our internal endpoints. Managed to do this with custom decorators and hooks, to filter the schema.

Perhaps this can guide you to a "fix"

HansAarneLiblik avatar Feb 13 '23 11:02 HansAarneLiblik