subclass of Response class should render open-api properly #913
asomethings
started this conversation in
Potential Issues
Replies: 1 comment
-
thanks, i created an issue for this - its indeed a bug. You're welcome to submit a PR fixing it if you have capacity. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if it's a bug or intended behavior so asking a question here.
When generating openapi schema it seems like it only checks for StarliteResponse and use wrong return annotation.
I think it should use
issubclass
to check class instead of usingis
operator.Below is a reproducible which will throw an
ImproperlyConfiguredException
.Beta Was this translation helpful? Give feedback.
All reactions