HATEOAS on demand

Not sure if this is the right place to send but wanted to discuss my hatred
for HATEOAS because it sends so much additional and unwanted information
with every request/response.

So in my spring-boot plugin I solved this by auto-generating (via recursive
lookup) only when a specific header is sent (
https://beapi-io.github.io/beapi-docs/0.9/advanced.html#section-6)

That way if you WANT the link relations, you can get them on demand.

But endpoints do not default to that.

Best of both worlds. Thoughts?

Owen Rubel
orubel@gmail.com

Received on Tuesday, 14 January 2025 22:41:47 UTC