@@ -4,7 +4,7 @@ servers:
44 - url: 'https://localhost:1080/'
55info:
66 title: MockServer API
7− version: 5.13.x
7+ version: 5.15.x
88 description: >-
99 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).
1010
@@ -18,7 +18,7 @@ info:
1818 name: Apache 2.0
1919tags:
2020 - 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)
2222 - name: verify
2323 description: Verify requests (both MockServer & MockServer Proxy)
2424 - name: control
@@ -96,7 +96,7 @@ paths:
9696 oneOf:
9797 - $ref: "#/components/schemas/RequestDefinition"
9898 - $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
100100 /mockserver/reset:
101101 put:
102102 tags:
@@ -116,7 +116,7 @@ paths:
116116 schema:
117117 type: string
118118 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"
120120 - in: query
121121 name: type
122122 schema:
@@ -363,6 +363,8 @@ components:
363363 $ref: "#/components/schemas/KeyToValue"
364364 socketAddress:
365365 $ref: "#/components/schemas/SocketAddress"
366+ protocol:
367+ $ref: "#/components/schemas/Protocol"
366368 OpenAPIDefinition:
367369 title: "open api or swagger request matcher"
368370 type: object
@@ -837,6 +839,11 @@ components:
837839 - XPATH
838840 xpath:
839841 type: string
842+ Protocol:
843+ description: "protocol matcher"
844+ enum:
845+ - HTTP_1_1
846+ - HTTP_2
840847 Body:
841848 description: "request body matcher"
842849 anyOf: