mockserver-client 5.3.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +2 -5
  3. data/README.md +88 -96
  4. data/lib/mockserver/client.rb +518 -0
  5. data/lib/mockserver/errors.rb +18 -0
  6. data/lib/mockserver/forward_chain_expectation.rb +117 -0
  7. data/lib/mockserver/models.rb +1507 -0
  8. data/lib/mockserver/version.rb +5 -0
  9. data/lib/mockserver/websocket_client.rb +353 -0
  10. data/lib/mockserver-client.rb +8 -64
  11. data/mockserver-client.gemspec +35 -44
  12. metadata +37 -256
  13. data/Gemfile.lock +0 -79
  14. data/Rakefile +0 -10
  15. data/docs/Body.md +0 -7
  16. data/docs/BodyWithContentType.md +0 -7
  17. data/docs/ConnectionOptions.md +0 -12
  18. data/docs/ControlApi.md +0 -269
  19. data/docs/Delay.md +0 -9
  20. data/docs/Expectation.md +0 -7
  21. data/docs/ExpectationApi.md +0 -51
  22. data/docs/Expectations.md +0 -7
  23. data/docs/HttpClassCallback.md +0 -8
  24. data/docs/HttpError.md +0 -10
  25. data/docs/HttpForward.md +0 -11
  26. data/docs/HttpObjectCallback.md +0 -8
  27. data/docs/HttpOverrideForwardedRequest.md +0 -9
  28. data/docs/HttpRequest.md +0 -15
  29. data/docs/HttpResponse.md +0 -14
  30. data/docs/HttpTemplate.md +0 -10
  31. data/docs/KeyToMultiValue.md +0 -7
  32. data/docs/KeyToValue.md +0 -7
  33. data/docs/Ports.md +0 -8
  34. data/docs/TimeToLive.md +0 -10
  35. data/docs/Times.md +0 -9
  36. data/docs/Verification.md +0 -9
  37. data/docs/VerificationSequence.md +0 -8
  38. data/docs/VerificationTimes.md +0 -9
  39. data/docs/VerifyApi.md +0 -94
  40. data/lib/mockserver-client/api/control_api.rb +0 -316
  41. data/lib/mockserver-client/api/expectation_api.rb +0 -73
  42. data/lib/mockserver-client/api/verify_api.rb +0 -127
  43. data/lib/mockserver-client/api_client.rb +0 -388
  44. data/lib/mockserver-client/api_error.rb +0 -38
  45. data/lib/mockserver-client/configuration.rb +0 -202
  46. data/lib/mockserver-client/models/body.rb +0 -174
  47. data/lib/mockserver-client/models/body_with_content_type.rb +0 -174
  48. data/lib/mockserver-client/models/connection_options.rb +0 -219
  49. data/lib/mockserver-client/models/delay.rb +0 -192
  50. data/lib/mockserver-client/models/expectation.rb +0 -174
  51. data/lib/mockserver-client/models/expectations.rb +0 -174
  52. data/lib/mockserver-client/models/http_class_callback.rb +0 -183
  53. data/lib/mockserver-client/models/http_error.rb +0 -201
  54. data/lib/mockserver-client/models/http_forward.rb +0 -244
  55. data/lib/mockserver-client/models/http_object_callback.rb +0 -183
  56. data/lib/mockserver-client/models/http_override_forwarded_request.rb +0 -192
  57. data/lib/mockserver-client/models/http_request.rb +0 -246
  58. data/lib/mockserver-client/models/http_response.rb +0 -237
  59. data/lib/mockserver-client/models/http_template.rb +0 -235
  60. data/lib/mockserver-client/models/key_to_multi_value.rb +0 -174
  61. data/lib/mockserver-client/models/key_to_value.rb +0 -174
  62. data/lib/mockserver-client/models/ports.rb +0 -185
  63. data/lib/mockserver-client/models/time_to_live.rb +0 -235
  64. data/lib/mockserver-client/models/times.rb +0 -192
  65. data/lib/mockserver-client/models/verification.rb +0 -192
  66. data/lib/mockserver-client/models/verification_sequence.rb +0 -185
  67. data/lib/mockserver-client/models/verification_times.rb +0 -192
  68. data/lib/mockserver-client/version.rb +0 -15
  69. data/spec/api/control_api_spec.rb +0 -102
  70. data/spec/api/expectation_api_spec.rb +0 -46
  71. data/spec/api/verify_api_spec.rb +0 -57
  72. data/spec/api_client_spec.rb +0 -226
  73. data/spec/configuration_spec.rb +0 -42
  74. data/spec/models/body_spec.rb +0 -35
  75. data/spec/models/body_with_content_type_spec.rb +0 -35
  76. data/spec/models/connection_options_spec.rb +0 -65
  77. data/spec/models/delay_spec.rb +0 -47
  78. data/spec/models/expectation_spec.rb +0 -35
  79. data/spec/models/expectations_spec.rb +0 -35
  80. data/spec/models/http_class_callback_spec.rb +0 -41
  81. data/spec/models/http_error_spec.rb +0 -53
  82. data/spec/models/http_forward_spec.rb +0 -63
  83. data/spec/models/http_object_callback_spec.rb +0 -41
  84. data/spec/models/http_override_forwarded_request_spec.rb +0 -47
  85. data/spec/models/http_request_spec.rb +0 -83
  86. data/spec/models/http_response_spec.rb +0 -77
  87. data/spec/models/http_template_spec.rb +0 -57
  88. data/spec/models/key_to_multi_value_spec.rb +0 -35
  89. data/spec/models/key_to_value_spec.rb +0 -35
  90. data/spec/models/ports_spec.rb +0 -41
  91. data/spec/models/time_to_live_spec.rb +0 -57
  92. data/spec/models/times_spec.rb +0 -47
  93. data/spec/models/verification_sequence_spec.rb +0 -41
  94. data/spec/models/verification_spec.rb +0 -47
  95. data/spec/models/verification_times_spec.rb +0 -47
  96. data/spec/spec_helper.rb +0 -111
data/docs/ControlApi.md DELETED
@@ -1,269 +0,0 @@
1
- # MockServer::ControlApi
2
-
3
- All URIs are relative to *http://localhost:1080*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**bind_put**](ControlApi.md#bind_put) | **PUT** /bind | bind additional listening ports
8
- [**clear_put**](ControlApi.md#clear_put) | **PUT** /clear | clears expectations and recorded requests that match the request matcher
9
- [**reset_put**](ControlApi.md#reset_put) | **PUT** /reset | clears all expectations and recorded requests
10
- [**retrieve_put**](ControlApi.md#retrieve_put) | **PUT** /retrieve | retrieve recorded requests, active expectations, recorded expectations or log messages
11
- [**status_put**](ControlApi.md#status_put) | **PUT** /status | return listening ports
12
- [**stop_put**](ControlApi.md#stop_put) | **PUT** /stop | stop running process
13
-
14
-
15
- # **bind_put**
16
- > Ports bind_put(ports)
17
-
18
- bind additional listening ports
19
-
20
- only supported on Netty version
21
-
22
- ### Example
23
- ```ruby
24
- # load the gem
25
- require 'mockserver-client'
26
-
27
- api_instance = MockServer::ControlApi.new
28
- ports = MockServer::Ports.new # Ports | list of ports to bind to, where 0 indicates dynamically bind to any available port
29
-
30
- begin
31
- #bind additional listening ports
32
- result = api_instance.bind_put(ports)
33
- p result
34
- rescue MockServer::ApiError => e
35
- puts "Exception when calling ControlApi->bind_put: #{e}"
36
- end
37
- ```
38
-
39
- ### Parameters
40
-
41
- Name | Type | Description | Notes
42
- ------------- | ------------- | ------------- | -------------
43
- **ports** | [**Ports**](Ports.md)| list of ports to bind to, where 0 indicates dynamically bind to any available port |
44
-
45
- ### Return type
46
-
47
- [**Ports**](Ports.md)
48
-
49
- ### Authorization
50
-
51
- No authorization required
52
-
53
- ### HTTP request headers
54
-
55
- - **Content-Type**: application/json
56
- - **Accept**: application/json
57
-
58
-
59
-
60
- # **clear_put**
61
- > clear_put(opts)
62
-
63
- clears expectations and recorded requests that match the request matcher
64
-
65
- ### Example
66
- ```ruby
67
- # load the gem
68
- require 'mockserver-client'
69
-
70
- api_instance = MockServer::ControlApi.new
71
- opts = {
72
- http_request: MockServer::HttpRequest.new # HttpRequest | request used to match expectations and recored requests to clear
73
- }
74
-
75
- begin
76
- #clears expectations and recorded requests that match the request matcher
77
- api_instance.clear_put(opts)
78
- rescue MockServer::ApiError => e
79
- puts "Exception when calling ControlApi->clear_put: #{e}"
80
- end
81
- ```
82
-
83
- ### Parameters
84
-
85
- Name | Type | Description | Notes
86
- ------------- | ------------- | ------------- | -------------
87
- **http_request** | [**HttpRequest**](HttpRequest.md)| request used to match expectations and recored requests to clear | [optional]
88
-
89
- ### Return type
90
-
91
- nil (empty response body)
92
-
93
- ### Authorization
94
-
95
- No authorization required
96
-
97
- ### HTTP request headers
98
-
99
- - **Content-Type**: application/json
100
- - **Accept**: Not defined
101
-
102
-
103
-
104
- # **reset_put**
105
- > reset_put
106
-
107
- clears all expectations and recorded requests
108
-
109
- ### Example
110
- ```ruby
111
- # load the gem
112
- require 'mockserver-client'
113
-
114
- api_instance = MockServer::ControlApi.new
115
-
116
- begin
117
- #clears all expectations and recorded requests
118
- api_instance.reset_put
119
- rescue MockServer::ApiError => e
120
- puts "Exception when calling ControlApi->reset_put: #{e}"
121
- end
122
- ```
123
-
124
- ### Parameters
125
- This endpoint does not need any parameter.
126
-
127
- ### Return type
128
-
129
- nil (empty response body)
130
-
131
- ### Authorization
132
-
133
- No authorization required
134
-
135
- ### HTTP request headers
136
-
137
- - **Content-Type**: Not defined
138
- - **Accept**: Not defined
139
-
140
-
141
-
142
- # **retrieve_put**
143
- > Object retrieve_put(opts)
144
-
145
- retrieve recorded requests, active expectations, recorded expectations or log messages
146
-
147
- ### Example
148
- ```ruby
149
- # load the gem
150
- require 'mockserver-client'
151
-
152
- api_instance = MockServer::ControlApi.new
153
- opts = {
154
- format: 'format_example', # String | changes response format, default if not specificed is \"json\", supported values are \"java\", \"json\"
155
- type: 'type_example', # String | specifies the type of object that is retrieve, default if not specified is \"requests\", supported values are \"logs\", \"requests\", \"recorded_expectations\", \"active_expectations\"
156
- http_request: MockServer::HttpRequest.new # HttpRequest | request used to match which recorded requests, expectations or log messages to return, an empty body matches all requests, expectations or log messages
157
- }
158
-
159
- begin
160
- #retrieve recorded requests, active expectations, recorded expectations or log messages
161
- result = api_instance.retrieve_put(opts)
162
- p result
163
- rescue MockServer::ApiError => e
164
- puts "Exception when calling ControlApi->retrieve_put: #{e}"
165
- end
166
- ```
167
-
168
- ### Parameters
169
-
170
- Name | Type | Description | Notes
171
- ------------- | ------------- | ------------- | -------------
172
- **format** | **String**| changes response format, default if not specificed is \"json\", supported values are \"java\", \"json\" | [optional]
173
- **type** | **String**| specifies the type of object that is retrieve, default if not specified is \"requests\", supported values are \"logs\", \"requests\", \"recorded_expectations\", \"active_expectations\" | [optional]
174
- **http_request** | [**HttpRequest**](HttpRequest.md)| request used to match which recorded requests, expectations or log messages to return, an empty body matches all requests, expectations or log messages | [optional]
175
-
176
- ### Return type
177
-
178
- **Object**
179
-
180
- ### Authorization
181
-
182
- No authorization required
183
-
184
- ### HTTP request headers
185
-
186
- - **Content-Type**: application/json
187
- - **Accept**: application/json, application/java, text/plain
188
-
189
-
190
-
191
- # **status_put**
192
- > Ports status_put
193
-
194
- return listening ports
195
-
196
- ### Example
197
- ```ruby
198
- # load the gem
199
- require 'mockserver-client'
200
-
201
- api_instance = MockServer::ControlApi.new
202
-
203
- begin
204
- #return listening ports
205
- result = api_instance.status_put
206
- p result
207
- rescue MockServer::ApiError => e
208
- puts "Exception when calling ControlApi->status_put: #{e}"
209
- end
210
- ```
211
-
212
- ### Parameters
213
- This endpoint does not need any parameter.
214
-
215
- ### Return type
216
-
217
- [**Ports**](Ports.md)
218
-
219
- ### Authorization
220
-
221
- No authorization required
222
-
223
- ### HTTP request headers
224
-
225
- - **Content-Type**: Not defined
226
- - **Accept**: application/json
227
-
228
-
229
-
230
- # **stop_put**
231
- > stop_put
232
-
233
- stop running process
234
-
235
- only supported on Netty version
236
-
237
- ### Example
238
- ```ruby
239
- # load the gem
240
- require 'mockserver-client'
241
-
242
- api_instance = MockServer::ControlApi.new
243
-
244
- begin
245
- #stop running process
246
- api_instance.stop_put
247
- rescue MockServer::ApiError => e
248
- puts "Exception when calling ControlApi->stop_put: #{e}"
249
- end
250
- ```
251
-
252
- ### Parameters
253
- This endpoint does not need any parameter.
254
-
255
- ### Return type
256
-
257
- nil (empty response body)
258
-
259
- ### Authorization
260
-
261
- No authorization required
262
-
263
- ### HTTP request headers
264
-
265
- - **Content-Type**: Not defined
266
- - **Accept**: Not defined
267
-
268
-
269
-
data/docs/Delay.md DELETED
@@ -1,9 +0,0 @@
1
- # MockServer::Delay
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **time_unit** | **String** | | [optional]
7
- **value** | **Integer** | | [optional]
8
-
9
-
data/docs/Expectation.md DELETED
@@ -1,7 +0,0 @@
1
- # MockServer::Expectation
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
-
7
-
@@ -1,51 +0,0 @@
1
- # MockServer::ExpectationApi
2
-
3
- All URIs are relative to *http://localhost:1080*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**expectation_put**](ExpectationApi.md#expectation_put) | **PUT** /expectation | create expectation
8
-
9
-
10
- # **expectation_put**
11
- > expectation_put(expectations)
12
-
13
- create expectation
14
-
15
- ### Example
16
- ```ruby
17
- # load the gem
18
- require 'mockserver-client'
19
-
20
- api_instance = MockServer::ExpectationApi.new
21
- expectations = nil # Array<Expectations> | expectation to create
22
-
23
- begin
24
- #create expectation
25
- api_instance.expectation_put(expectations)
26
- rescue MockServer::ApiError => e
27
- puts "Exception when calling ExpectationApi->expectation_put: #{e}"
28
- end
29
- ```
30
-
31
- ### Parameters
32
-
33
- Name | Type | Description | Notes
34
- ------------- | ------------- | ------------- | -------------
35
- **expectations** | [**Array&lt;Expectations&gt;**](Array.md)| expectation to create |
36
-
37
- ### Return type
38
-
39
- nil (empty response body)
40
-
41
- ### Authorization
42
-
43
- No authorization required
44
-
45
- ### HTTP request headers
46
-
47
- - **Content-Type**: application/json
48
- - **Accept**: Not defined
49
-
50
-
51
-
data/docs/Expectations.md DELETED
@@ -1,7 +0,0 @@
1
- # MockServer::Expectations
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
-
7
-
@@ -1,8 +0,0 @@
1
- # MockServer::HttpClassCallback
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **callback_class** | **String** | | [optional]
7
-
8
-
data/docs/HttpError.md DELETED
@@ -1,10 +0,0 @@
1
- # MockServer::HttpError
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **delay** | [**Delay**](Delay.md) | | [optional]
7
- **drop_connection** | **BOOLEAN** | | [optional]
8
- **response_bytes** | **String** | | [optional]
9
-
10
-
data/docs/HttpForward.md DELETED
@@ -1,11 +0,0 @@
1
- # MockServer::HttpForward
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **host** | **String** | | [optional]
7
- **port** | **Integer** | | [optional]
8
- **scheme** | **String** | | [optional]
9
- **delay** | [**Delay**](Delay.md) | | [optional]
10
-
11
-
@@ -1,8 +0,0 @@
1
- # MockServer::HttpObjectCallback
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **client_id** | **String** | | [optional]
7
-
8
-
@@ -1,9 +0,0 @@
1
- # MockServer::HttpOverrideForwardedRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **http_request** | [**HttpRequest**](HttpRequest.md) | | [optional]
7
- **delay** | [**Delay**](Delay.md) | | [optional]
8
-
9
-
data/docs/HttpRequest.md DELETED
@@ -1,15 +0,0 @@
1
- # MockServer::HttpRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **body** | [**Body**](Body.md) | | [optional]
7
- **headers** | [**KeyToMultiValue**](KeyToMultiValue.md) | | [optional]
8
- **cookies** | [**KeyToValue**](KeyToValue.md) | | [optional]
9
- **query_string_parameters** | [**KeyToMultiValue**](KeyToMultiValue.md) | | [optional]
10
- **path** | **String** | | [optional]
11
- **method** | **String** | | [optional]
12
- **secure** | **BOOLEAN** | | [optional]
13
- **keep_alive** | **BOOLEAN** | | [optional]
14
-
15
-
data/docs/HttpResponse.md DELETED
@@ -1,14 +0,0 @@
1
- # MockServer::HttpResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **body** | [**BodyWithContentType**](BodyWithContentType.md) | | [optional]
7
- **delay** | [**Delay**](Delay.md) | | [optional]
8
- **cookies** | [**KeyToValue**](KeyToValue.md) | | [optional]
9
- **connection_options** | [**ConnectionOptions**](ConnectionOptions.md) | | [optional]
10
- **headers** | [**KeyToMultiValue**](KeyToMultiValue.md) | | [optional]
11
- **status_code** | **Integer** | | [optional]
12
- **reason_phrase** | **String** | | [optional]
13
-
14
-
data/docs/HttpTemplate.md DELETED
@@ -1,10 +0,0 @@
1
- # MockServer::HttpTemplate
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **template_type** | **String** | | [optional]
7
- **template** | **String** | | [optional]
8
- **delay** | [**Delay**](Delay.md) | | [optional]
9
-
10
-
@@ -1,7 +0,0 @@
1
- # MockServer::KeyToMultiValue
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
-
7
-
data/docs/KeyToValue.md DELETED
@@ -1,7 +0,0 @@
1
- # MockServer::KeyToValue
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
-
7
-
data/docs/Ports.md DELETED
@@ -1,8 +0,0 @@
1
- # MockServer::Ports
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **ports** | **Array&lt;Float&gt;** | | [optional]
7
-
8
-
data/docs/TimeToLive.md DELETED
@@ -1,10 +0,0 @@
1
- # MockServer::TimeToLive
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **time_unit** | **String** | | [optional]
7
- **time_to_live** | **Integer** | | [optional]
8
- **unlimited** | **BOOLEAN** | | [optional]
9
-
10
-
data/docs/Times.md DELETED
@@ -1,9 +0,0 @@
1
- # MockServer::Times
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **remaining_times** | **Integer** | | [optional]
7
- **unlimited** | **BOOLEAN** | | [optional]
8
-
9
-
data/docs/Verification.md DELETED
@@ -1,9 +0,0 @@
1
- # MockServer::Verification
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **http_request** | [**HttpRequest**](HttpRequest.md) | | [optional]
7
- **times** | [**VerificationTimes**](VerificationTimes.md) | | [optional]
8
-
9
-
@@ -1,8 +0,0 @@
1
- # MockServer::VerificationSequence
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **http_requests** | [**Array&lt;HttpRequest&gt;**](HttpRequest.md) | | [optional]
7
-
8
-
@@ -1,9 +0,0 @@
1
- # MockServer::VerificationTimes
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **count** | **Integer** | | [optional]
7
- **exact** | **BOOLEAN** | | [optional]
8
-
9
-
data/docs/VerifyApi.md DELETED
@@ -1,94 +0,0 @@
1
- # MockServer::VerifyApi
2
-
3
- All URIs are relative to *http://localhost:1080*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**verify_put**](VerifyApi.md#verify_put) | **PUT** /verify | verify a request has been received a specific number of times
8
- [**verify_sequence_put**](VerifyApi.md#verify_sequence_put) | **PUT** /verifySequence | verify a sequence of request has been received in the specific order
9
-
10
-
11
- # **verify_put**
12
- > verify_put(verification)
13
-
14
- verify a request has been received a specific number of times
15
-
16
- ### Example
17
- ```ruby
18
- # load the gem
19
- require 'mockserver-client'
20
-
21
- api_instance = MockServer::VerifyApi.new
22
- verification = MockServer::Verification.new # Verification | request matcher and the number of times to match
23
-
24
- begin
25
- #verify a request has been received a specific number of times
26
- api_instance.verify_put(verification)
27
- rescue MockServer::ApiError => e
28
- puts "Exception when calling VerifyApi->verify_put: #{e}"
29
- end
30
- ```
31
-
32
- ### Parameters
33
-
34
- Name | Type | Description | Notes
35
- ------------- | ------------- | ------------- | -------------
36
- **verification** | [**Verification**](Verification.md)| request matcher and the number of times to match |
37
-
38
- ### Return type
39
-
40
- nil (empty response body)
41
-
42
- ### Authorization
43
-
44
- No authorization required
45
-
46
- ### HTTP request headers
47
-
48
- - **Content-Type**: application/json
49
- - **Accept**: text/plain
50
-
51
-
52
-
53
- # **verify_sequence_put**
54
- > verify_sequence_put(verification_sequence)
55
-
56
- verify a sequence of request has been received in the specific order
57
-
58
- ### Example
59
- ```ruby
60
- # load the gem
61
- require 'mockserver-client'
62
-
63
- api_instance = MockServer::VerifyApi.new
64
- verification_sequence = MockServer::VerificationSequence.new # VerificationSequence | the sequence of requests matchers
65
-
66
- begin
67
- #verify a sequence of request has been received in the specific order
68
- api_instance.verify_sequence_put(verification_sequence)
69
- rescue MockServer::ApiError => e
70
- puts "Exception when calling VerifyApi->verify_sequence_put: #{e}"
71
- end
72
- ```
73
-
74
- ### Parameters
75
-
76
- Name | Type | Description | Notes
77
- ------------- | ------------- | ------------- | -------------
78
- **verification_sequence** | [**VerificationSequence**](VerificationSequence.md)| the sequence of requests matchers |
79
-
80
- ### Return type
81
-
82
- nil (empty response body)
83
-
84
- ### Authorization
85
-
86
- No authorization required
87
-
88
- ### HTTP request headers
89
-
90
- - **Content-Type**: application/json
91
- - **Accept**: text/plain
92
-
93
-
94
-