dockstore
dockstore copied to clipboard
Swagger is incorrect for fields using @JsonSerialize
Bug Report
The @JsonSerialize Jackson annotation overrides the default serialization for fields, but the generated Swagger doesn't reflect it. Generated client code will then be wrong too.
Example
Due to this line, starredUsers is serialized as an array of ids.
But the generated Swagger has it being an array of User.
┆Issue is synchronized with this Jira Bug ┆fixVersions: Dockstore 2.X ┆friendlyId: DOCK-1180 ┆sprint: Backlog ┆taskType: Bug