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
This class is serialize when generating the the Swagger and the fact that the attributes and relationships have getters means they're visible to the jackson serialization. They should either have ignore annotations or if not used (haven't checked) then they shoudl be removed.
The text was updated successfully, but these errors were encountered:
When generating the swagger docs I'm seeing additional fields for attributes and relationships in the generated models. e.g.
The properties correctly have the structure but there are also two additional unexpected objects "attributes" and "relationships".
Expected Behavior
The generated swagger for the models should not have top level objects attributes & relationships.
Possible Solution
The problem would appear to be here in Resource.java
https://github.com/yahoo/elide/blob/master/elide-swagger/src/main/java/com/yahoo/elide/swagger/models/media/Resource.java#L49
This class is serialize when generating the the Swagger and the fact that the attributes and relationships have getters means they're visible to the jackson serialization. They should either have ignore annotations or if not used (haven't checked) then they shoudl be removed.
The text was updated successfully, but these errors were encountered: