Possible bug in EndpointEnumerator #9309
Unanswered
SXHRYU
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/encode/django-rest-framework/blob/master/rest_framework/schemas/generators.py#L127
Can someone explain how does this line of code work?
Like, doesn't it check for literal ".{format}" or ".{format}/" ending of a string? I can pass ".json" strings and this check won't pass
If I'm wrong, please explain if there is some code happening behind the scenes
Beta Was this translation helpful? Give feedback.
All reactions