git.iko.soy/typeable/mock-server-client
on master help sign in
update codegen/mock-server-openapi.yaml to 5.15.x
0301c7dAleksey Uymanov
codegen/mock-server-openapi.yaml+12−5
@@ -4,7 +4,7 @@ servers:
4 - url: 'https://localhost:1080/'
4 - url: 'https://localhost:1080/'
5info:
5info:
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).
10
10
@@ -18,7 +18,7 @@ info:
18 name: Apache 2.0
18 name: Apache 2.0
19tags:
19tags:
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
@@ -94,7 +94,7 @@ paths:
94 name: type
94 name: type
95 schema:
95 schema:
96 type: string
96 type: string
97− enum: ["all", "log", "expectations"]
97+ enum: [ "all", "log", "expectations" ]
98 default: "all"
98 default: "all"
99 required: false
99 required: false
100 description: specifies the type of information to clear, default if not specified is "all", supported values are "all", "log", "expectations"
100 description: specifies the type of information to clear, default if not specified is "all", supported values are "all", "log", "expectations"
@@ -105,7 +105,7 @@ paths:
105 oneOf:
105 oneOf:
106 - $ref: "#/components/schemas/RequestDefinition"
106 - $ref: "#/components/schemas/RequestDefinition"
107 - $ref: "#/components/schemas/ExpectationId"
107 - $ref: "#/components/schemas/ExpectationId"
108− description: request used to match expectations and recored requests to clear
108+ description: request used to match expectations and record requests to clear
109 /mockserver/reset:
109 /mockserver/reset:
110 put:
110 put:
111 tags:
111 tags:
@@ -126,7 +126,7 @@ paths:
126 type: string
126 type: string
127 enum: [ "java", "json", "log_entries" ]
127 enum: [ "java", "json", "log_entries" ]
128 required: false
128 required: false
129− description: changes response format, default if not specificed is "json", supported values are "java", "json", "log_entries"
129+ description: changes response format, default if not specified is "json", supported values are "java", "json", "log_entries"
130 - in: query
130 - in: query
131 name: type
131 name: type
132 schema:
132 schema:
@@ -397,6 +397,8 @@ components:
397 $ref: "#/components/schemas/KeyToValue"
397 $ref: "#/components/schemas/KeyToValue"
398 socketAddress:
398 socketAddress:
399 $ref: "#/components/schemas/SocketAddress"
399 $ref: "#/components/schemas/SocketAddress"
400+ protocol:
401+ $ref: "#/components/schemas/Protocol"
400 OpenAPIDefinition:
402 OpenAPIDefinition:
401 description: "open api or swagger request matcher"
403 description: "open api or swagger request matcher"
402 type: object
404 type: object
@@ -730,6 +732,11 @@ components:
730 enum:
732 enum:
731 - HTTP
733 - HTTP
732 - HTTPS
734 - HTTPS
735+ Protocol:
736+ description: "protocol matcher"
737+ enum:
738+ - HTTP_1_1
739+ - HTTP_2
733 Body:
740 Body:
734 description: "request body matcher"
741 description: "request body matcher"
735 anyOf:
742 anyOf: