Spring HATEOAS
-
Enterprise Java

Dynamic Link Generation Based on OAuth2 User Permissions
Most REST APIs treat pagination and navigation as a solved problem, and then quietly ignore a much messier one: what…
Read More » -
Enterprise Java

HATEOAS Pagination: Why PagedModel Doesn’t Work with Custom Repositories
If you’ve spent any real time building REST APIs with Spring, you’ve probably hit this wall: your PagingAndSortingRepository gives you…
Read More » -
Enterprise Java

Spring HATEOAS + OpenAPI 3.0: Why Links Don’t Appear in Swagger UI
You built a perfectly valid HAL response, opened Swagger, and the _links are simply… gone. Here is exactly why that happens and…
Read More » -
Enterprise Java

Choosing Between Resource, EntityModel & RepresentationModel in Spring HATEOAS
When building hypermedia-driven REST APIs using Spring HATEOAS, a critical decision is how to model your API responses — especially…
Read More » -
Enterprise Java

Demo Project: How @BasePathAwareController Breaks Link Builders
This minimal example shows two controllers in a Spring Data REST app with base path /api: One using @BasePathAwareController —…
Read More » -
Enterprise Java

Testing Conditional Links with @WithMockUser in Spring Security
Hypermedia APIs provide not just data but also actions that users can take, often exposed as conditional links or affordances.…
Read More » -
Enterprise Java

When to Use Affordance vs. Link in Hypermedia Controls
Hypermedia as the engine of application state (HATEOAS) brings a new level of discoverability and self-documentation to REST APIs. In…
Read More » -
Enterprise Java

Fixing HalForms Template Rendering Errors in Spring HATEOAS
Spring HATEOAS (Hypermedia as the Engine of Application State) is a powerful library that simplifies the implementation of hypermedia-driven REST…
Read More » -
Enterprise Java

Migrating from Spring HATEOAS 1.x to 2.x: Common Pitfalls and How to Avoid Them
Upgrading from Spring HATEOAS 1.x to 2.x introduces significant changes that can impact your application if not handled carefully. This…
Read More »
- 1
- 2


