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
Is there a way to redirect to an external site? #55
Comments
@yamaday-isid Yes, this is should fine but I will take a look at it. |
I have looked at this and it works fine on my end. |
@eadwinCode Thank you for checking. I will share the version of the library and context we were using. the version of the library:
context: We were calling our developed API endpoints from OpenAPI docs generated by django-ninja-extra (or django-ninja). - http://127.0.0.1:8000/api/docs And I was encountering the following error. We noticed that this is the correct behavior in situations where we redirect to an external site. I am really sorry. |
Yes, In Swagger thats the behaviour when you return a redirect response. @yamaday-isid Thanks for clearing this out. |
Thank you for developing this great project!
We are currently using django-nina-extra to develop our application.
We are facing a use case where we need to redirect responses to an external site.
The API we are developing is implemented in a class that inherits from ControllerBase and is given the
api_controller
decorator.Is there a way to redirect to an external site?
Related issue
vitalik/django-ninja#224
The text was updated successfully, but these errors were encountered: