git.iko.soy/typeable/mock-server-client
on master help sign in
update codegen/mock-server-openapi.yaml to 5.15.x
commit0301c7d61ff7d40f50a570a102400bb50da8b3bb authorAleksey Uymanov <s9gf4ult@gmail.com> dateFri 20 Jan 2023, 12:10 (4 years ago) parent1d150ac
1 file changed+12−5
codegen/mock-server-openapi.yaml+12−5
codegen/mock-server-openapi.yaml+12−5
@@ -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
@@ -94,7 +94,7 @@ paths:
9494 name: type
9595 schema:
9696 type: string
97− enum: ["all", "log", "expectations"]
97+ enum: [ "all", "log", "expectations" ]
9898 default: "all"
9999 required: false
100100 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:
105105 oneOf:
106106 - $ref: "#/components/schemas/RequestDefinition"
107107 - $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
109109 /mockserver/reset:
110110 put:
111111 tags:
@@ -126,7 +126,7 @@ paths:
126126 type: string
127127 enum: [ "java", "json", "log_entries" ]
128128 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"
130130 - in: query
131131 name: type
132132 schema:
@@ -397,6 +397,8 @@ components:
397397 $ref: "#/components/schemas/KeyToValue"
398398 socketAddress:
399399 $ref: "#/components/schemas/SocketAddress"
400+ protocol:
401+ $ref: "#/components/schemas/Protocol"
400402 OpenAPIDefinition:
401403 description: "open api or swagger request matcher"
402404 type: object
@@ -730,6 +732,11 @@ components:
730732 enum:
731733 - HTTP
732734 - HTTPS
735+ Protocol:
736+ description: "protocol matcher"
737+ enum:
738+ - HTTP_1_1
739+ - HTTP_2
733740 Body:
734741 description: "request body matcher"
735742 anyOf: