-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Provide Maven plugin for generating TypeScript DTO objects based on Java DTO #2490
Conversation
Build # 431 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/431/ to view the results. |
afa0bd9
to
c8b8b81
Compare
Build # 446 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/446/ to view the results. |
</plugins> | ||
</build> | ||
|
||
</project> |
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.
new line
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.
fixed
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/468/ |
6e7db94
to
0295939
Compare
…ava DTO dependencies It allow clients of REST API of Eclipse Che to use a Typed variables instead of dynamic variables for retreieved JSON (It includes Dashboard and Chefile CLI and other clients based on TypeScript) input : <maven DTO modules> ouput : dto.ts file including DTO definition and an implementation for building objects around JSON content Change-Id: I5eb2e2a958ffb99fc63dc6ff606a528ad105d7e0 Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
0295939
to
b217f9a
Compare
import java.util.Map; | ||
|
||
/** | ||
* Helper class |
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.
Provide more detailed javadoc for this helper class.
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.
hum ok I will provide a new PR then as it has been merged
Build # 481 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/481/ to view the results. |
…ava DTO dependencies (eclipse-che#2490) It allow clients of REST API of Eclipse Che to use a Typed variables instead of dynamic variables for retreieved JSON (It includes Dashboard and Chefile CLI and other clients based on TypeScript) input : <maven DTO modules> ouput : dto.ts file including DTO definition and an implementation for building objects around JSON content Change-Id: I5eb2e2a958ffb99fc63dc6ff606a528ad105d7e0 Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
What does this PR do?
It allow javascript clients (like Dashboard and Chefile) of REST API of Eclipse Che to use a Typed variables by using TypeScript definition and implementation
Generation is based on string template library eclipse-che/che-dependencies#17
input :
ouput : dto.ts file including DTO definition and an implementation for building objects around JSON content
usage example
PR type
Minor change checklist
Change-Id: I5eb2e2a958ffb99fc63dc6ff606a528ad105d7e0
Signed-off-by: Florent BENOIT fbenoit@codenvy.com