From 26876abe20581c3c91726d349c11f00014491972 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 18 Mar 2020 15:21:08 -0400 Subject: [PATCH] Add leading slashes to paths for verify and control APIs --- lib/mockserver-client/api/control_api.rb | 12 ++++++------ lib/mockserver-client/api/verify_api.rb | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/mockserver-client/api/control_api.rb b/lib/mockserver-client/api/control_api.rb index 57282c1..e2105b9 100644 --- a/lib/mockserver-client/api/control_api.rb +++ b/lib/mockserver-client/api/control_api.rb @@ -43,7 +43,7 @@ def bind_put_with_http_info(ports, opts = {}) fail ArgumentError, "Missing the required parameter 'ports' when calling ControlApi.bind_put" end # resource path - local_var_path = 'mockserver/bind' + local_var_path = '/mockserver/bind' # query parameters query_params = {} @@ -92,7 +92,7 @@ def clear_put_with_http_info(opts = {}) @api_client.config.logger.debug 'Calling API: ControlApi.clear_put ...' end # resource path - local_var_path = 'mockserver/clear' + local_var_path = '/mockserver/clear' # query parameters query_params = {} @@ -136,7 +136,7 @@ def reset_put_with_http_info(opts = {}) @api_client.config.logger.debug 'Calling API: ControlApi.reset_put ...' end # resource path - local_var_path = 'mockserver/reset' + local_var_path = '/mockserver/reset' # query parameters query_params = {} @@ -190,7 +190,7 @@ def retrieve_put_with_http_info(opts = {}) fail ArgumentError, 'invalid value for "type", must be one of logs, requests, recorded_expectations, active_expectations' end # resource path - local_var_path = 'mockserver/retrieve' + local_var_path = '/mockserver/retrieve' # query parameters query_params = {} @@ -239,7 +239,7 @@ def status_put_with_http_info(opts = {}) @api_client.config.logger.debug 'Calling API: ControlApi.status_put ...' end # resource path - local_var_path = 'mockserver/status' + local_var_path = '/mockserver/status' # query parameters query_params = {} @@ -286,7 +286,7 @@ def stop_put_with_http_info(opts = {}) @api_client.config.logger.debug 'Calling API: ControlApi.stop_put ...' end # resource path - local_var_path = 'mockserver/stop' + local_var_path = '/mockserver/stop' # query parameters query_params = {} diff --git a/lib/mockserver-client/api/verify_api.rb b/lib/mockserver-client/api/verify_api.rb index 0941736..45f6130 100644 --- a/lib/mockserver-client/api/verify_api.rb +++ b/lib/mockserver-client/api/verify_api.rb @@ -41,7 +41,7 @@ def verify_put_with_http_info(verification, opts = {}) fail ArgumentError, "Missing the required parameter 'verification' when calling VerifyApi.verify_put" end # resource path - local_var_path = 'mockserver/verify' + local_var_path = '/mockserver/verify' # query parameters query_params = {} @@ -93,7 +93,7 @@ def verify_sequence_put_with_http_info(verification_sequence, opts = {}) fail ArgumentError, "Missing the required parameter 'verification_sequence' when calling VerifyApi.verify_sequence_put" end # resource path - local_var_path = 'mockserver/verifySequence' + local_var_path = '/mockserver/verifySequence' # query parameters query_params = {}