You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classFolderChildren(BaseModel):
""" Folder schema to output from GET folders/{folder_id}/children method. """id: intname: strn_docs: intchildren: Optional[List["FolderChildren"]] =NoneFolderChildren.update_forward_refs()
And the error is:
Warning(s) encountered while generating. Client was generated, but some pieces may be missing
WARNING parsing GET /api/v1/folders/{folder_id}/children/ within hierarchy.
Cannot parse response for status code 200, response will be ommitted from generated client
Reference(ref='#/components/schemas/FolderChildren')
Unable to parse this part of your OpenAPI document:
invalid data in items of array children
Reference(ref='#/components/schemas/FolderChildren')
I believe the problem is the self-reference. Am I wrong?
Expected behavior
Not having the error message.
OpenAPI Spec File
Can't give you this.
Desktop (please complete the following information):
OS: Ubuntu 20.04
Python Version: 3.6.9
openapi-python-client version 0.8.0
The text was updated successfully, but these errors were encountered:
Unfortunately recursively defined schemas aren't supported currently. There's a pull request (#329) to add support but we need to take another look at it. There's already a ticket for this (#338) so I'll close this for now - if this is still giving you issues once support is added feel free to reopen.
Describe the bug
So... I have this:
And the error is:
I believe the problem is the self-reference. Am I wrong?
Expected behavior
Not having the error message.
OpenAPI Spec File
Can't give you this.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: