| Package | Description | 
|---|---|
| org.mockserver.client | |
| org.mockserver.mock | |
| org.mockserver.serialization | |
| org.mockserver.serialization.model | |
| org.mockserver.serialization.serializers.expectation | 
| Modifier and Type | Method and Description | 
|---|---|
Expectation[] | 
MockServerClient.upsert(OpenAPIExpectation... openAPIExpectations)
Specify OpenAPI and operations and responses to create matchers and example responses 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static OpenAPIExpectation | 
OpenAPIExpectation.openAPIExpectation()  | 
static OpenAPIExpectation | 
OpenAPIExpectation.openAPIExpectation(String specUrlOrPayload)
Specify the OpenAPI to create matchers and example responses for: 
 | 
static OpenAPIExpectation | 
OpenAPIExpectation.openAPIExpectation(String specUrlOrPayload,
                  Map<String,String> operationsAndResponses)
Specify the OpenAPI and operations and responses to create matchers and example responses for: 
 | 
OpenAPIExpectation | 
OpenAPIExpectation.withOperationsAndResponses(Map<String,String> operationsAndResponses)
The operations and responses to use for each example response where the key is the operationId in the OpenAPI and the value if the response key (i.e. 
 | 
OpenAPIExpectation | 
OpenAPIExpectation.withSpecUrlOrPayload(String specUrlOrPayload)
Specify the OpenAPI specification: 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Expectation> | 
HttpState.add(OpenAPIExpectation openAPIExpectation)  | 
| Modifier and Type | Method and Description | 
|---|---|
OpenAPIExpectation | 
OpenAPIExpectationSerializer.deserialize(String jsonOpenAPIExpectation)  | 
OpenAPIExpectation[] | 
OpenAPIExpectationSerializer.deserializeArray(String jsonOpenAPIExpectations,
                boolean allowEmpty)  | 
| Modifier and Type | Method and Description | 
|---|---|
Class<OpenAPIExpectation> | 
OpenAPIExpectationSerializer.supportsType()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
OpenAPIExpectationSerializer.serialize(OpenAPIExpectation... expectations)  | 
String | 
OpenAPIExpectationSerializer.serialize(OpenAPIExpectation expectation)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
OpenAPIExpectationSerializer.serialize(List<OpenAPIExpectation> expectations)  | 
| Modifier and Type | Method and Description | 
|---|---|
OpenAPIExpectation | 
OpenAPIExpectationDTO.buildObject()  | 
| Constructor and Description | 
|---|
OpenAPIExpectationDTO(OpenAPIExpectation openAPIExpectation)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
OpenAPIExpectationSerializer.serialize(OpenAPIExpectation openAPIDefinition,
         com.fasterxml.jackson.core.JsonGenerator jgen,
         com.fasterxml.jackson.databind.SerializerProvider provider)  | 
Copyright © 2022. All rights reserved.