From 7e9272d03dc1979c783d11322861bd1606bf6c9f Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 2 Apr 2021 09:24:27 +0000 Subject: [PATCH] Regenerate client from commit cc1654e of spec repo --- .apigentools-info | 8 ++++---- data/v1/openapi.yaml | 2 +- docs/v1/SyntheticsAPI.md | 8 ++++---- lib/datadog_api_client/v1/api/synthetics_api.rb | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 0ddc90a0a918..b5c22e28c99c 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.4.1.dev6", - "regenerated": "2021-04-02 07:58:16.461272", - "spec_repo_commit": "1a655b7" + "regenerated": "2021-04-02 09:24:10.451056", + "spec_repo_commit": "cc1654e" }, "v2": { "apigentools_version": "1.4.1.dev6", - "regenerated": "2021-04-02 07:58:30.476557", - "spec_repo_commit": "1a655b7" + "regenerated": "2021-04-02 09:24:25.098751", + "spec_repo_commit": "cc1654e" } } } \ No newline at end of file diff --git a/data/v1/openapi.yaml b/data/v1/openapi.yaml index b01676508b5e..54ec5d4af430 100644 --- a/data/v1/openapi.yaml +++ b/data/v1/openapi.yaml @@ -16735,7 +16735,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SyntheticsTestDetails' + $ref: '#/components/schemas/SyntheticsBrowserTest' description: OK '403': content: diff --git a/docs/v1/SyntheticsAPI.md b/docs/v1/SyntheticsAPI.md index 98fc5a256206..1eee3e731b81 100644 --- a/docs/v1/SyntheticsAPI.md +++ b/docs/v1/SyntheticsAPI.md @@ -788,7 +788,7 @@ end ## get_browser_test -> get_browser_test(public_id) +> get_browser_test(public_id) Get a test configuration (browser) @@ -814,7 +814,7 @@ end This returns an Array which contains the response data, status code and headers. -> , Integer, Hash)> get_browser_test_with_http_info(public_id) +> , Integer, Hash)> get_browser_test_with_http_info(public_id) ```ruby begin @@ -822,7 +822,7 @@ begin data, status_code, headers = api_instance.get_browser_test_with_http_info(public_id) p status_code # => 2xx p headers # => { ... } - p data # => + p data # => rescue DatadogAPIClient::V1::APIError => e puts "Error when calling SyntheticsAPI->get_browser_test_with_http_info: #{e}" end @@ -836,7 +836,7 @@ end ### Return type -[**SyntheticsTestDetails**](SyntheticsTestDetails.md) +[**SyntheticsBrowserTest**](SyntheticsBrowserTest.md) ### Authorization diff --git a/lib/datadog_api_client/v1/api/synthetics_api.rb b/lib/datadog_api_client/v1/api/synthetics_api.rb index 50574e478340..61496e23a68b 100644 --- a/lib/datadog_api_client/v1/api/synthetics_api.rb +++ b/lib/datadog_api_client/v1/api/synthetics_api.rb @@ -937,7 +937,7 @@ def get_api_test_result_with_http_info(public_id, result_id, opts = {}) # Get the detailed configuration (including steps) associated with a Synthetic browser test. # @param public_id [String] The public ID of the test to get details from. # @param [Hash] opts the optional parameters - # @return [SyntheticsTestDetails] + # @return [SyntheticsBrowserTest] def get_browser_test(public_id, opts = {}) data, _status_code, _headers = get_browser_test_with_http_info(public_id, opts) data @@ -947,7 +947,7 @@ def get_browser_test(public_id, opts = {}) # Get the detailed configuration (including steps) associated with a Synthetic browser test. # @param public_id [String] The public ID of the test to get details from. # @param [Hash] opts the optional parameters - # @return [Array<(SyntheticsTestDetails, Integer, Hash)>] SyntheticsTestDetails data, response status code and response headers + # @return [Array<(SyntheticsBrowserTest, Integer, Hash)>] SyntheticsBrowserTest data, response status code and response headers def get_browser_test_with_http_info(public_id, opts = {}) if @api_client.config.unstable_operations.has_key?(:get_browser_test) @@ -984,7 +984,7 @@ def get_browser_test_with_http_info(public_id, opts = {}) post_body = opts[:debug_body] # return_type - return_type = opts[:debug_return_type] || 'SyntheticsTestDetails' + return_type = opts[:debug_return_type] || 'SyntheticsBrowserTest' # auth_names auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]