Skip to content

Raise error in strict mode when missing response code #317

Description

@hiddewie

This is a feature request.

Let's assume we have an OpenAPI specification with an API which is tested well. I run Committee in strict mode, such that Committee raises errors in case of missing path/method combinations. This works perfectly.

However, responses with a HTTP response (status) code that is not documented are ignored. In addition, no content validation is performed which can introduce breaking changes in the API that go unnoticed.

Instead, when a response is validated by Committee for which no response code is documented, an error should be raised.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions