Skip to content
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

Remove wildcard from api endpoint documentation #5290

Closed
wants to merge 1 commit into from

Conversation

thatnerdjosh
Copy link

Description

Removes wildcard endpoints from EndpointInspector aggregator. This prevents fallback endpoints from being documented.

@carltongibson
Copy link
Collaborator

I'm going to close this.

The correct way to exclude endpoints is currently to set exclude_from_schema on your view:

class MyView(APIView):
   exclude_from_schema = True

From 3.7 this will change to setting schema = None:

class MyView(APIView):
   schema = None

Ref #5422

@thatnerdjosh
Copy link
Author

Will try this, thanks! @carltongibson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants