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
class TestType(BaseModel):
value: str | None = Field(None, title='Value')
class TestRequest(BaseModel):
test: TestType = {}
But I expect something like this
class TestType(BaseModel):
value: str | None = Field(None, title='Value')
class TestRequest(BaseModel):
test: TestType = TestType() # Here is the difference
My version is 0.25.5
I have tried to search in the past discussion and find this similar question: #797. It seems that it is fixed already.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have this openapi spec json file.
When I run below cli
I get
But I expect something like this
My version is
0.25.5
I have tried to search in the past discussion and find this similar question: #797. It seems that it is fixed already.
Can anyone help this question? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions