We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to API guidelines and GitHub API v3, the response format should be JSON, even for error responses.
So the response parameter may look like Response(HTTP_201, HTTP_409=Error_409).
Response(HTTP_201, HTTP_409=Error_409)
The text was updated successfully, but these errors were encountered:
Even though the interface is Response(*args, **kwargs), you cannot use
Response(*args, **kwargs)
Response(200=RespModel)
Response(HTTP_403)
HTTP_403
So the result is Response('HTTP_403', HTTP_200=RespModel). (Not very elegant)
Response('HTTP_403', HTTP_200=RespModel)
Sorry, something went wrong.
No branches or pull requests
According to API guidelines and GitHub API v3, the response format should be JSON, even for error responses.
So the response parameter may look like
Response(HTTP_201, HTTP_409=Error_409)
.The text was updated successfully, but these errors were encountered: