-
Notifications
You must be signed in to change notification settings - Fork 133
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
Permit customizing input validation responses #148
Comments
Possibly, what kind of validation issues? Swagger syntax issues, or something else? |
Sorry, I mean the server validation of the Json models the endpoint is receiving. If I send a payload which does not correspond to the Swagger model, I would like to know what's wrong. |
Ah, this currently doesn't exist; I'm thinking it may be how we're doing the content validation exception, failing over to other available unmarshallers. What kind of message would you expect to see? I'm assuming a Circe path would not be the best user experience; possibly a JSON path? |
@blast-hardcheese anything that actually provide an hint and supports custom validation messages. |
@blast-hardcheese ok, I understand the problem now with circe-path. |
@sledorze I agree; I've made these changes in the akka-http generator for now. |
Is there already a solution to this?
The text was updated successfully, but these errors were encountered: