Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST example violates abstraction layer #18

Open
dimitri-xyz opened this issue Jun 4, 2019 · 0 comments
Open

REST example violates abstraction layer #18

dimitri-xyz opened this issue Jun 4, 2019 · 0 comments

Comments

@dimitri-xyz
Copy link
Contributor

The example call to updateLeverage should not "manually" change the body of the request as done here:

https://github.com/Lucsanszky/haskell-bitmex/blob/master/client/example/Example.hs#L63

It is not clear how to properly craft this API call with its 2 required parameters. It appears there are missing type classes in the generated code.

Is the rest code "as is" from the swagger codegen tool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant