We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use @JsonRootName throughout my application. Jsondoc does not consider the annotation in playground. So the displayed payload is wrong. Example:
@Data @EqualsAndHashCode(of = {"id"}, callSuper = false) @NoArgsConstructor @AllArgsConstructor @Builder @JsonRootName("data") @ApiObject(group = Groups.OFFER) public class Offer extends JsonApi { @Id @ApiObjectField(required = true, description = "The offer identifier.") private String id; }
I expect the payload to be something like this:
{ "data" : { "id" : "my-id" } }
when it actually is:
{ "id" : "my-id" }
The text was updated successfully, but these errors were encountered:
Resolves fabiomaffioletti#214 @JsonRootName is ignored in playground
2f2646a
No branches or pull requests
I use @JsonRootName throughout my application. Jsondoc does not consider the annotation in playground. So the displayed payload is wrong.
Example:
I expect the payload to be something like this:
when it actually is:
The text was updated successfully, but these errors were encountered: