Skip to content

Commit 1f6f41a

Browse files
authored
Update MP Database archetype README to use "type" not "idType" (helidon-io#2329)
1 parent 18d4c7c commit 1f6f41a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

archetypes/database-mp/src/main/resources/README.md.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ java -jar target/{{artifactId}}.jar
1414

1515
```
1616
curl -X GET http://localhost:8080/pokemon
17-
[{"id":1,"idType":12,"name":"Bulbasaur"}, ...]
17+
[{"id":1,"type":12,"name":"Bulbasaur"}, ...]
1818

1919
curl -X GET http://localhost:8080/type
2020
[{"id":1,"name":"Normal"}, ...]
2121

22-
curl -H "Content-Type: application/json" --request POST --data '{"id":100, "idType":1, "name":"Test"}' http://localhost:8080/pokemon
22+
curl -H "Content-Type: application/json" --request POST --data '{"id":100, "type":1, "name":"Test"}' http://localhost:8080/pokemon
2323
```
2424

2525
## Try health and metrics

0 commit comments

Comments
 (0)