Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vepo/quarkus-hateoas
Quarkus + HATEOAS - Proof-of-Concept
https://github.com/vepo/quarkus-hateoas
hateoas java poc quarkus rest
Last synced: about 7 hours ago
JSON representation
Quarkus + HATEOAS - Proof-of-Concept
- Host: GitHub
- URL: https://github.com/vepo/quarkus-hateoas
- Owner: vepo
- Created: 2022-05-19T02:23:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-24T11:23:01.000Z (over 2 years ago)
- Last Synced: 2024-07-30T20:09:50.013Z (6 months ago)
- Topics: hateoas, java, poc, quarkus, rest
- Language: Java
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quarkus HETEOAS
Passos
1. Escreva a classe de recurso normalmente, ver [UsuarioRecurso.java](src/main/java/io/vepo/hateoas/UsuarioRecurso.java).
2. Adicione um filtro para transformar a resposta, ver [ContainerResponseFilter.java](src/main/java/io/vepo/hateoas/HateoasFilter.java)
3. Inspecione os valores a transforme o tipo antes de escreve no formato desejado.