Skip to content

Fix broken HATEOAS link in repository-resources.adoc - #2588

Open
Gaalbu wants to merge 1 commit into
spring-projects:mainfrom
Gaalbu:gh-1751-fix-hateoas-link
Open

Gaalbu wants to merge 1 commit into
spring-projects:mainfrom
Gaalbu:gh-1751-fix-hateoas-link

Conversation

@Gaalbu

@Gaalbu Gaalbu commented Aug 16, 2026

Copy link
Copy Markdown

The HATEOAS reference in the "Resource Discoverability" section linked to a tree view of spring-guides/understanding/hateoas. That repository has since been archived and moved to spring-attic/understanding, and the directory is no longer published as a rendered guide (it's just a source folder containing a README.md).

This updates the link to point directly at the README.md file in the current spring-attic/understanding location, so it renders correctly on GitHub.

Closes gh-1751.

The link to the Spring "understanding HATEOAS" guide pointed to a
tree view in the spring-guides/understanding repository, which has
since been archived to spring-attic/understanding and is no longer
published as a rendered guide. Point the link directly at the
README.md file so it renders correctly on GitHub.

Closes spring-projectsGH-1751.

Signed-off-by: Gaalbu <gabrielalbuquerquealencar@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 16, 2026
@Gaalbu

Gaalbu commented Sep 13, 2026

Copy link
Copy Markdown
Author

Friendly ping — this PR is still waiting for triage. Happy to make any adjustments needed.

=== Resource Discoverability

A core principle of https://github.com/spring-guides/understanding/tree/master/hateoas[HATEOAS] is that resources should be discoverable through the publication of links that point to the available resources. There are a few competing de-facto standards of how to represent links in JSON. By default, Spring Data REST uses https://tools.ietf.org/html/draft-kelly-json-hal[HAL] to render responses. HAL defines the links to be contained in a property of the returned document.
A core principle of https://github.com/spring-attic/understanding/blob/master/hateoas/README.md[HATEOAS] is that resources should be discoverable through the publication of links that point to the available resources. There are a few competing de-facto standards of how to represent links in JSON. By default, Spring Data REST uses https://tools.ietf.org/html/draft-kelly-json-hal[HAL] to render responses. HAL defines the links to be contained in a property of the returned document.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix is correct and an improvement over the current state. The new URL resolves properly and renders readable content. However, the ideal fix would replace the link with a reference to an actively maintained resource (e.g., Spring HATEOAS docs or Wikipedia) rather than an archived GitHub repository. If the team is comfortable linking to spring-attic, this is ready to merge as-is. Otherwise, consider updating the link target to a more durable reference before merging, such as:

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

repository-resources.adoc HATEOAS broken link. [DATAREST-1392]

3 participants