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

Add optional validation of json payload #6

Open
JakubTesarek opened this issue Mar 22, 2021 · 1 comment
Open

Add optional validation of json payload #6

JakubTesarek opened this issue Mar 22, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@JakubTesarek
Copy link
Collaborator

Add validation optional Route argument that will validate payload of incoming request.

@JakubTesarek JakubTesarek added the enhancement New feature or request label Mar 22, 2021
@JakubTesarek
Copy link
Collaborator Author

What should happen to a Route that fails validation?

  • skip it and continue to another Route that might validate
  • return custom validation error

How to validate the payload? For Json user can send json schema but what to do with XML, plaintext etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant