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

Error message for wrong required fields #23

Open
jvandaele opened this issue Feb 8, 2023 · 0 comments
Open

Error message for wrong required fields #23

jvandaele opened this issue Feb 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jvandaele
Copy link

Hello !

I recently got a problem while doing a test. Unfortunately, the error message was not very helpful :
OpenAPIErrors
Indeed, the error "Something went wrong: ." caused me trouble to identify correctly the issue.

After investigation, it seems that the issue was caused by a wrong identifier name, in my documentation it was defined by "listId", however, the name of my identifier in the test was "list". A simple issue, but yet difficult to find due to the error message given.

Is it possible to add a better error message when this case happen ? For example : "The given parameter 'wrongId' is not corresponding to the required parameters defined in the documentation : 'goodId', 'parameter2', 'myType'."

Thank you !

@jvandaele jvandaele added the enhancement New feature or request label Feb 8, 2023
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