You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
however, in grails, command objects usually implement the Validateable trait that adds a getErrors() method. but you cannot annotate that getter with @JsonIgnore because it is injected by the trait at compile time. my common swaggered grails command object (using swagger-servlet, not springfox) looks like:
seems
@JsonIgnoreProperties
on model classes is currently ignored.springfox/springfox#113 suggest to use
@JsonIgnore
instead.however, in grails, command objects usually implement the
Validateable
trait that adds agetErrors()
method. but you cannot annotate that getter with@JsonIgnore
because it is injected by the trait at compile time. my common swaggered grails command object (usingswagger-servlet
, not springfox) looks like:The text was updated successfully, but these errors were encountered: