Skip to content

Error message for wrong required fields #23

@jvandaele

Description

@jvandaele

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions