-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Ascendex Apis #4531
base: develop
Are you sure you want to change the base?
Ascendex Apis #4531
Conversation
wodepig
commented
Jul 20, 2022
- Add most of the REST APIs
- rewrite Dtos of lombok
- AscendexDigest.java:Fixed url path problem of authentication signature
- ascendexApiInfo.json:The API information needed for the real test
- add param
private String userUID; | ||
private Boolean tradePermission; | ||
private Boolean transferPermission; | ||
private Boolean viewPermission; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix you coding conventions, we do not use tabs, indent should be 2 spaces
this also indicates that you did not build the project using maven as it would fix formatting for you
*/ | ||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use @Value
instead of the above
/** | ||
* Package:org.knowm.xchange.ascendex.dto.account | ||
* Description: | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these comments look unnecessary
AccountCategory toAccount; | ||
|
||
public void setAsset(String asset) { | ||
this.asset =asset==null?null: asset.toUpperCase(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mapping should be done in *Adapter
classes, not in dtos
dtos should represent what came from the API
is there any progress on this PR? if not I will have to close it |