Skip to content

retrieve list of errors instead of raising errors #77

Open
@sdementen

Description

Except if I am missing some option, validate_spec will raise an exception as soon as it find an error.
It would be useful to be able to retrieve all errors from validation instead of raising exceptions.
I want to use the validate_spec to validate a swagger uploaded by users and return to them the list of errors instead of returning only the first error.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions