Package org.mockserver.openapi
package org.mockserver.openapi
-
ClassDescriptionGiven an OpenAPI spec, builds representative example requests for each operation, sends them via an injected HTTP-send function, and validates each response against the spec.Structured result for a single contract test operation.Given an OpenAPI spec, generates deliberately malformed and boundary-case requests for each operation, sends them via an injected HTTP-send function, and classifies each outcome as HANDLED (4xx) or UNEXPECTED (5xx, 2xx, or connection error).Resolves OpenAPI runtime expressions (RFC 3.4.16) in callback after-action requests using values from the triggering HTTP request.Pure-function helper for incremental OpenAPI sync: given the set of existing expectation ids, the set of newly-generated ids, and the namespace prefixes that the new generation covers, determines which existing ids should be pruned.Validates a list of request/response pairs against an OpenAPI specification.Structured result for a single request/response pair validation.