diff --git a/.apigentools-info b/.apigentools-info index 41f0e433e701..d6af6ec5eefb 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-20 19:51:44.281546", - "spec_repo_commit": "51272749" + "regenerated": "2025-06-23 07:59:25.891159", + "spec_repo_commit": "74866a53" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-06-20 19:51:44.297382", - "spec_repo_commit": "51272749" + "regenerated": "2025-06-23 07:59:25.906930", + "spec_repo_commit": "74866a53" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 122953233531..b83ef47e92dd 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -14785,9 +14785,6 @@ components: description: Username to use for the basic authentication. example: my_username type: string - required: - - password - - username type: object SyntheticsBasicAuthWebType: default: web diff --git a/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb b/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb index 9144f7a42897..547031ec9339 100644 --- a/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +++ b/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb @@ -22,13 +22,13 @@ class SyntheticsBasicAuthWeb include BaseGenericModel # Password to use for the basic authentication. - attr_reader :password + attr_accessor :password # The type of basic authentication to use when performing the test. attr_accessor :type # Username to use for the basic authentication. - attr_reader :username + attr_accessor :username attr_accessor :additional_properties @@ -83,35 +83,6 @@ def initialize(attributes = {}) end end - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - # @!visibility private - def valid? - return false if @password.nil? - return false if @username.nil? - true - end - - # Custom attribute writer method with validation - # @param password [Object] Object to be assigned - # @!visibility private - def password=(password) - if password.nil? - fail ArgumentError, 'invalid value for "password", password cannot be nil.' - end - @password = password - end - - # Custom attribute writer method with validation - # @param username [Object] Object to be assigned - # @!visibility private - def username=(username) - if username.nil? - fail ArgumentError, 'invalid value for "username", username cannot be nil.' - end - @username = username - end - # Returns the object in the form of hash, with additionalProperties support. # @return [Hash] Returns the object in the form of hash # @!visibility private