Java 8 é necessário para rodar esse exemplo.
git clone https://github.com/domaframework/spring-boot-sample.gitcd ms-person./gradlew bootRunhttp://localhost:8080/swagger-ui.html
JSON Response:
[{"id": 1, "name": "Patricia", "creditLimit": 1, "risk": "A", "shortAddress": "Street", "rate": 0}]http://localhost:8080/update?id=1&name=Carla&creditLimit=200&risk=B&shortAddress=Endereco%20%20Update%2066&rate=10
JSON Response:
[{"id": 1, "name": "Carla", "creditLimit": 200, "risk": "B", "shortAddress": "Endereco Update 66", "rate": 10}]Use Eclipse or above.
Generate all Eclipse files with Gradle.
./gradlew eclipse