In my RESTful API, all resources are extending the Spring's ResourceSupport base, in order to ensure hateoas principals by design. For example:
public class PoolResource extends ResourceSupport {
private String name;
...
}
I'm also using Swagger, and i was wondering: is it possible to configure the swagger-ui somehow, to ignore the properties coming from ResourceSupport?
(Swagger-ui provides a nice and easy frontend of the API. As one of the major benefits of using Swagger, the API is easy to understand and play around with the API for those, who are not even familiar with the REST API... as long as the "links" and "rels" come into the picture.)
Pool
. What if I have a newly installed system, without any existing pool instance, so I cannot GET a pool. How to create (POST) a pool than? How does the pool look like? - What about optional fields? Validations? Required... etc? - What about "offline" documentation? – Lymphatic