Skip to content
New issue

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

@JsonIgnore not ignored #159

Open
stuartlewis opened this issue Oct 12, 2015 · 1 comment
Open

@JsonIgnore not ignored #159

stuartlewis opened this issue Oct 12, 2015 · 1 comment

Comments

@stuartlewis
Copy link

When using import com.fasterxml.jackson.annotation.JsonIgnore via @JsonIgnore annotations, these are still included in the generated json example via the JSONDOC UI.

They are excluded from JSONDOC UI web page table, but are included in the json example in the right hand column.

For example:

 // Deposit Identifier
@Id
@ApiObjectField(description = "Universally Unique Identifier for the Deposit", name="Deposit")
@GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "uuid2")
@Column(name = "id", unique = true)
private String id;

 // JSON Vault relationship
@JsonIgnore
@ManyToOne
private Vault vault;

It would be great is JSONDOC could also obey the @JsonIgnore annotations. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants