diff --git a/archetypes/database-mp/src/main/resources/README.md.mustache b/archetypes/database-mp/src/main/resources/README.md.mustache index 3a3558119e6..42c42198d92 100644 --- a/archetypes/database-mp/src/main/resources/README.md.mustache +++ b/archetypes/database-mp/src/main/resources/README.md.mustache @@ -14,12 +14,12 @@ java -jar target/{{artifactId}}.jar ``` curl -X GET http://localhost:8080/pokemon -[{"id":1,"idType":12,"name":"Bulbasaur"}, ...] +[{"id":1,"type":12,"name":"Bulbasaur"}, ...] curl -X GET http://localhost:8080/type [{"id":1,"name":"Normal"}, ...] -curl -H "Content-Type: application/json" --request POST --data '{"id":100, "idType":1, "name":"Test"}' http://localhost:8080/pokemon +curl -H "Content-Type: application/json" --request POST --data '{"id":100, "type":1, "name":"Test"}' http://localhost:8080/pokemon ``` ## Try health and metrics