@@ -4,7 +4,7 @@ servers:
4 - url: 'https://localhost:1080/'
4 - url: 'https://localhost:1080/'
6 title: MockServer API
6 title: MockServer API
7− version: 5.13.x
7+ version: 5.15.x
8 description: >-
8 description: >-
9 MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby and a simple REST API (as shown below).
9 MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby and a simple REST API (as shown below).
@@ -18,7 +18,7 @@ info:
18 name: Apache 2.0
18 name: Apache 2.0
20 - name: expectation
20 - name: expectation
21− description: Create or update expectations - updates if the id matches an existing expecations (only supported by MockServer)
21+ description: Create or update expectations - updates if the id matches an existing expectations (only supported by MockServer)
22 - name: verify
22 - name: verify
23 description: Verify requests (both MockServer & MockServer Proxy)
23 description: Verify requests (both MockServer & MockServer Proxy)
24 - name: control
24 - name: control
@@ -96,7 +96,7 @@ paths:
97 - $ref: "#/components/schemas/RequestDefinition"
97 - $ref: "#/components/schemas/RequestDefinition"
98 - $ref: "#/components/schemas/ExpectationId"
98 - $ref: "#/components/schemas/ExpectationId"
99− description: request used to match expectations and recored requests to clear
99+ description: request used to match expectations and record requests to clear
100 /mockserver/reset:
100 /mockserver/reset:
@@ -116,7 +116,7 @@ paths:
117 type: string
117 type: string
118 enum: [ "java", "json", "log_entries" ]
118 enum: [ "java", "json", "log_entries" ]
119− description: changes response format, default if not specificed is "json", supported values are "java", "json", "log_entries"
119+ description: changes response format, default if not specified is "json", supported values are "java", "json", "log_entries"
120 - in: query
120 - in: query
121 name: type
121 name: type
@@ -363,6 +363,8 @@ components:
363 $ref: "#/components/schemas/KeyToValue"
363 $ref: "#/components/schemas/KeyToValue"
364 socketAddress:
364 socketAddress:
365 $ref: "#/components/schemas/SocketAddress"
365 $ref: "#/components/schemas/SocketAddress"
367+ $ref: "#/components/schemas/Protocol"
366 OpenAPIDefinition:
368 OpenAPIDefinition:
367 title: "open api or swagger request matcher"
369 title: "open api or swagger request matcher"
368 type: object
370 type: object
@@ -837,6 +839,11 @@ components:
839 type: string
841 type: string
843+ description: "protocol matcher"
841 description: "request body matcher"
848 description: "request body matcher"