{"id":16955810,"url":"https://github.com/yoannfleurydev/hateoas-spring-boot","last_synced_at":"2026-04-12T04:37:20.484Z","repository":{"id":79530564,"uuid":"144297536","full_name":"yoannfleurydev/hateoas-spring-boot","owner":"yoannfleurydev","description":"Small project using Spring Boot 2.0.4","archived":false,"fork":false,"pushed_at":"2018-08-10T15:08:10.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T08:45:56.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoannfleurydev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-10T14:38:51.000Z","updated_at":"2018-08-10T15:08:11.000Z","dependencies_parsed_at":"2023-02-25T16:30:45.277Z","dependency_job_id":null,"html_url":"https://github.com/yoannfleurydev/hateoas-spring-boot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannfleurydev%2Fhateoas-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannfleurydev%2Fhateoas-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannfleurydev%2Fhateoas-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannfleurydev%2Fhateoas-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoannfleurydev","download_url":"https://codeload.github.com/yoannfleurydev/hateoas-spring-boot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244801191,"owners_count":20512615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T22:13:22.726Z","updated_at":"2025-12-30T23:58:55.193Z","avatar_url":"https://github.com/yoannfleurydev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HATEOAS Spring Boot\n\nSmall Spring Boot project based on Spring Boot 2.0.4 that probably include a bug\nfrom Spring HATEOAS 0.25.0\n\n## Configure\n\n* Clone the repository.\n* Create the database and the user.\n\n```sql\nCREATE DATABASE hateoas DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;\n\nCREATE USER 'hateoas'@'localhost' IDENTIFIED BY 'hateoas';\n\nGRANT ALL ON hateoas.* TO 'hateoas'@'localhost';\n```\n\n## Test the Web Service\n\n* POST a contact (correct links):\n\n```bash\ncurl --request POST \\\n  --url http://localhost:8080/api/contacts \\\n  --header 'content-type: application/json' \\\n  --data '{\n\t\"firstName\": \"Recipient\",\n\t\"lastName\": \"Recipient\"\n}'\n```\n\n* GET a contact (correct links):\n\n```bash\ncurl --request GET \\\n  --url http://localhost:8080/api/contacts/\u003cCONTACT_ID\u003e \\\n  --header 'content-type: application/json'\n```\n\n* GET a pagination of contacts (incorrect links):\n\n```bash\ncurl --request GET \\\n  --url http://localhost:8080/api/contacts \\\n  --header 'content-type: application/json'\n```\n\nYou can comment/uncomment the line in the `build.gradle` file to enable/disable\nthe bug. Be careful with cache, I usually remove the `.gradle` and the `build` \ndirectories to fully check the bug.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannfleurydev%2Fhateoas-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoannfleurydev%2Fhateoas-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannfleurydev%2Fhateoas-spring-boot/lists"}