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

More detailed validation error message #197

Open
MiaInturi opened this issue Dec 14, 2024 · 0 comments
Open

More detailed validation error message #197

MiaInturi opened this issue Dec 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MiaInturi
Copy link
Collaborator

Current validation error message looks like this

Validation Error: configuration.rest.configs[0].routes[0].entities.body.hello.value does not match the API schema. Click here to see correct type: https://github.com/siberiacancode/mock-config-server

This message provide info only about error location, but not about error reason. Need to provide info about reason too. Something like this

Validation Error: configuration.rest.configs[0].routes[0].entities.body.hello.value does not match the API schema - value not provided/should be RegExp. Click here to see correct type: https://github.com/siberiacancode/mock-config-server
@MiaInturi MiaInturi added the enhancement New feature or request label Jan 13, 2025
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