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
{{ message }}
Repository navigation
Commit efe39db
Browse filesBrowse the repository at this point in the historyBrowse files
Add named integer enums from server.api (account type, margin mode, pool status, RFQ direction, ...)
Adds scripts/openapi_postprocess.py to normalize goctl-swagger's string-valued
integer enums and emit <Model><Field>Enum IntEnum schemas; regenerates the
affected models/docs from the updated openapi.json.
Co-Authored-By: eduard@lighter.xyz <eduard@lighter.xyz>
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Named values of DetailedAccount.account_trading_mode
4
+
5
+
## Enum
6
+
7
+
*`Simple` (value: `0`)
8
+
9
+
*`Unified` (value: `1`)
10
+
11
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments