-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
openapi.component needlessly inspects properties, gets stuck #259
Comments
allComputableThings
changed the title
openapi.component needlessly inspect properties, gets stuck
openapi.component needlessly inspects properties, gets stuck
May 1, 2024
In the following, the "something" property is added to the schema, for both classes (this is a mistake, I think).
...
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
...
This is failing due to:
It similarly fails without recursion:
...
There's really no need for sanic to inspect property return types to discover model attributes. Dataclasses, Pydantic or type annotations on the class constructor all provide what is needed.
The text was updated successfully, but these errors were encountered: