Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
For REST API V2 for management, Swagger shows that the model for Pdx includes "group", "groups".
None of these should be specified when doing a POST Pdx. If you do specify group you get an error saying Pdx is only at the cluster level.
group and groups comes from CacheElement. Could the Pdx class override them and mark them with @JsonIgnore?
The java-api exposes these on Pdx and it would be best if it didn't. If we did some refactoring so that Pdx did not have these methods on it them this would clean up the rest-api automatically.
Objective:
- find a way to hide these attributes from Swagger docs.
- is there a way to hide "group"/"groups" from the java api as well
The best solution might be to just have "group" and not "groups".
Attachments
Issue Links
- links to