ShermanMarshall commented on a change in pull request #448: Tomee 2482
synchronize examples
URL: https://github.com/apache/tomee/pull/448#discussion_r267181902
##########
File path:
examples/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/service/WebApp2Service.java
##########
@@ -32,7 +31,7 @@
public class WebApp2Service {
@POST
- public Response getInfo(@Pattern(regexp = "valid") final String input) {
Review comment:
The service consumes application/json but had a regexp for validation. Since
the param key isn't defined, the pattern causes the request to generate a 406
response. This is anticipated in the test, but there isn't any way to refine
it. Form/query/path/entity validation should be a separate example in its own
right.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services