Tuesday, March 21, 2017

Re: GWT + Open API

Swagger itself has also a code generator that already can output JavaScript so you could wrap it using JsInterop. You could also write a custom plugin for Swagger's code generator that outputs GWT compatible Java code directly.

Just open your swagger JSON in http://editor.swagger.io/#!/ and download the generated code if you want to take a look at the generated JavaScript output.

Code generator: https://github.com/swagger-api/swagger-codegen

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment