-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ADDONS_10.10
-
Component/s: Rest API
-
Epic Link:
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.21, nxplatform 11.1.22
-
Story Points:1
When it needed we should add @Produces on the existing endpoints. This add is needed to keep the code more clear about what each endpoint produce and in a case where we don't provide a writer in Nuxeo or in the management API, Jax-rs will use the
com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider
which will write all properties of the returned object. and in fact that will save us writing just a new writer that send all properties in Nuxeo or Management API. (for instance this is the case of BinaryManagerStatus)