Skip to content

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