Skip to content

Allow to omit response validation #211

@iliayatsenko

Description

@iliayatsenko

Current implementation of \League\OpenAPIValidation\PSR15\ValidationMiddleware always validates both request and response. But my API returns long lists of large objects, and response validation becomes a bottleneck. I would like to omit it for some endpoints. It would be great to have the ability to configure it somehow, without necessity to edit or extend library classes.

Thanks to all of contributors!

Metadata

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