Skip to content

JsonIgnoreProperties not considered while converting groovy class to json #519

Closed
@iWebi

Description

@iWebi

I have a Rest resource with as groovy class as response type.
I used @JsonIgnoreProperties annotation to exclude metaClass property from groovy. But still this property is listed in swagger-ui Response Class model.
http://stackoverflow.com/questions/22763820/exclude-metaclass-properties-for-groovy-model-classes-in-swagger lists the Foo instance.

com.wordnik.swagger.converter.ModelPropertyParser class does not seem to consider the JsonIgnoreProperties annotation. Is this true? How do I make swagger consider my JsonIgnoreProperties annotation?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions