Skip to content

Add leading slashes to paths for verify and control APIs #9

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lib/mockserver-client/api/control_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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 = {}
Expand Down
4 changes: 2 additions & 2 deletions lib/mockserver-client/api/verify_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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 = {}
Expand Down