Investigate Enunciate's JS support for use in frontend
Description
Activity
Show:
Sean Flanigan 27 June 2018 at 06:43
I think something based on Swagger/OpenAPI is a better option for type safety.
Won't Do
Details
Details
Assignee
Unassigned
UnassignedReporter
Sean Flanigan
Sean FlaniganTested Version/s
None
Components
Priority

More fields
Time tracking
More fields
Time trackingCreated 1 February 2017 at 05:05
Updated 27 June 2018 at 06:43
Resolved 27 June 2018 at 06:43
https://github.com/stoicflame/enunciate/wiki/Module-JS-Client
Instead of duplicating our Java DTOs in JavaScript (and trying to keep them in sync manually), we should look at letting Enunciate generate JavaScript bindings for the editor's REST API endpoints.
The current REST code in frontend apparently uses redux-api-middleware and redux-thunk.