Skip to content

[Question]: Is there a way to disable ServerNotFound check  #264

Open
@vamsi245

Description

@vamsi245

i noticed that if the URL in the request is not one of the listed URLs in the Spec, the validator throws an ServerNotFound exception.

Is there any config that I can pause to the validator to disable this check?
We want to use the validator only to validate the request body.

    spec = create_spec(spec_dict)
    openapi_request = FlaskOpenAPIRequest(request)
    validator = RequestValidator(spec)
    result = validator.validate(openapi_request)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions