Restore openAPI functioning
This commit is contained in:
parent
bd8348451e
commit
f8cb3d2901
@ -132,13 +132,10 @@ class UnfilledTimeout(BaseModel):
|
|||||||
exit_timeout_count: Optional[int]
|
exit_timeout_count: Optional[int]
|
||||||
|
|
||||||
|
|
||||||
class OrderTypeValues(Enum):
|
class OrderTypeValues(str, Enum):
|
||||||
limit = 'limit'
|
limit = 'limit'
|
||||||
market = 'market'
|
market = 'market'
|
||||||
|
|
||||||
class Config:
|
|
||||||
use_enum_values = True
|
|
||||||
|
|
||||||
|
|
||||||
class OrderTypes(BaseModel):
|
class OrderTypes(BaseModel):
|
||||||
buy: OrderTypeValues
|
buy: OrderTypeValues
|
||||||
|
Loading…
Reference in New Issue
Block a user