tremendous-rewards / tremendous-python

Python Tremendous API Client
MIT License
2 stars 6 forks source link

Fix usage of `ApiClient.create_order` #19

Closed lucasmazza closed 1 month ago

lucasmazza commented 1 month ago

Because of recent spec changes where we moved the request body for POST /api/v2/orders to use an oneOf structure, the generated code requires the user to say which of the supported schemas is being used

FloareDor commented 1 month ago

pls, get this merged, guys. I'm having a NoneType issue with create_order and it seems this can fix it