Open caalle opened 8 years ago
The service might be aware of its name through the VIRTUAL_HOST environment variable. Java would need to get that system environment variable then? Or can links be relative instead, that would be nicer if allowed?
This site http://jsonapi.org/implementations/ mentions these two Java libraries that would provide JSONAPI output:
http://katharsis.io/ - "Elegant and powerful HATEOAS for Java based on JSON API standard... JAX-RS integration can be applied in less than 5 minutes and it won't break current implementation." http://elide.io/ - "Stand up {json:api} web services backed by JPA annotated models in less than 15 minutes"
We need to update the API response to align to the jsonapi.org specification. See: jsonapi.org/format/
Example: