spring-hateoas-examples
                                
                                 spring-hateoas-examples copied to clipboard
                                
                                    spring-hateoas-examples copied to clipboard
                            
                            
                            
                        Collection of examples on how (and why) to build hypermedia-driven apps with Spring HATEOAS
Has this class not been add to the spring hateos project?
I fixed a bug that “When I query with ‘supervisor /{id}’ in 'SupervisorController', because the manager is not exist, then happened NullPointException”
When applying `server.servlet.context-path=/ctx`, the links automatically adjust. ``` 2020-04-13 10:43:59.877 INFO 79416 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '/ctx' ``` Testing with...
Updated code samples + class names in README to match the code. We might want to edit my [merge explanation](https://github.com/spring-projects/spring-hateoas-examples/compare/master...avivmu:master#diff-4adab4bd6582447599943bc79ef3e1229bcf60080bb823168b3413a56a49be1aR211) with more details and why it failed before.
``` { "_embedded": { "employees": [ { "id": 1, "name": "Bilbo Baggins", "role": "burglar", "_links": { "self": { "href": "https://example.com:9001/employees/1" }, "employees": { "href": "https://example.com:9001/employees" } } } ] },...
In this example I can't get this to work without an error `RepresentationModel` Needs a `T`. `RepresentationModel model = new RepresentationModel();` What is the right way to do this without...
The current code has the following method for splitting name to two: ```java public void setName(String wholeName) { String[] parts = wholeName.split(" "); this.firstName = parts[0]; if (parts.length > 1)...
I would like to see some example, where I can use HATEOAS approach for creating rest api services on some real objects. Is this approach good way? I mean something...
The existing [hypermedia](https://github.com/spring-projects/spring-hateoas-examples/tree/master/hypermedia) example provides an overview on related resources (`Employee`, `Manager`), how to link them and evolve api. In addition to that, I would like to see example code...