Skip to content

Is there an option to hide internal endpoints? #888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AlaNDGT opened this issue Feb 8, 2023 · 3 comments
Closed

Is there an option to hide internal endpoints? #888

AlaNDGT opened this issue Feb 8, 2023 · 3 comments

Comments

@AlaNDGT
Copy link

AlaNDGT commented Feb 8, 2023

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

@mrin9
Copy link
Collaborator

mrin9 commented Feb 8, 2023

no there is none at the moment

@AlaNDGT
Copy link
Author

AlaNDGT commented Feb 8, 2023

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.

@HansAarneLiblik
Copy link

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"

@mrin9 mrin9 closed this as completed in eb3e23f Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants