Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix validation error DTO path property #675

Open
davidkopp opened this issue Mar 28, 2019 · 0 comments
Open

Fix validation error DTO path property #675

davidkopp opened this issue Mar 28, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@davidkopp
Copy link
Contributor

The property path is of the validation error DTO is null.

Request:

curl -X PUT \
  http://localhost:8080/applications/realworld/v0.0.1/deploymentInformation/react-redux-realworld-example-app \
  -d '{
    "replicas": 0
}'

Response:

{
    "status": 422,
    "error": "Unprocessable Entity",
    "message": "Validation Error",
    "fieldErrors": [
        "Field 'replicas' must be at least one replica"
    ],
    "path": null
}
@davidkopp davidkopp added the bug Something isn't working label Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant