Files
spring-boot-demo/validation/output/12-http-groups.txt
T

12 lines
616 B
Plaintext

== POST /products {"id":7,"name":"Pen","price":10}
HTTP 400 application/problem+json
{"detail":"Invalid request content.","status":400,"title":"Bad Request","errors":[{"field":"id","code":"Null","message":"must be null"}]}
== PUT /products {"name":"Pen","price":-1}
HTTP 400 application/problem+json
{"detail":"Invalid request content.","status":400,"title":"Bad Request","errors":[{"field":"id","code":"NotNull","message":"must not be null"},{"field":"price","code":"Positive","message":"must be greater than 0"}]}
== PUT /products {"id":7,"name":"Pen","price":10}
HTTP 200 text/plain;charset=UTF-8
updated