Skip to content

Validate Response against OpenAPI Schema #868

Description

@giemic8

ℹ️ This issue was partially AI-generated and may contain technical inaccuracies.

Is your feature request related to a problem? Please describe.
After importing an OpenAPI spec (#621, #835), there is no way to check whether a live response actually conforms to the documented schema, so contract drift goes unnoticed.

Describe the solution you'd like
When a request originates from (or is linked to) an imported OpenAPI operation, validate the response body/status/headers against the spec's schema and surface mismatches inline (and as assertions in a run).

Describe alternatives you've considered
Hand-writing JSON-schema assertions in scripts; validating externally with a separate tool.

Additional context
Leverages the existing OpenAPI import. Pairs with the Assertions tab (#841) and Collection Runner (#774).

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBackend related taskenhancementNew feature or requestinvalidThis doesn't seem rightpriority: lowLow priority feature

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions