@@ -241,9 +241,9 @@ def get_open_api_with_http_info(id, opts = {})
241241
242242 # List APIs.
243243 #
244- # @see #list_ap_is_with_http_info
245- def list_ap_is ( opts = { } )
246- data , _status_code , _headers = list_ap_is_with_http_info ( opts )
244+ # @see #list_apis_with_http_info
245+ def list_apis ( opts = { } )
246+ data , _status_code , _headers = list_apis_with_http_info ( opts )
247247 data
248248 end
249249
@@ -256,22 +256,22 @@ def list_ap_is(opts = {})
256256 # @option opts [Integer] :page_limit Number of items per page.
257257 # @option opts [Integer] :page_offset Offset for pagination.
258258 # @return [Array<(ListAPIsResponse, Integer, Hash)>] ListAPIsResponse data, response status code and response headers
259- def list_ap_is_with_http_info ( opts = { } )
260- unstable_enabled = @api_client . config . unstable_operations [ "v2.list_ap_is " . to_sym ]
259+ def list_apis_with_http_info ( opts = { } )
260+ unstable_enabled = @api_client . config . unstable_operations [ "v2.list_apis " . to_sym ]
261261 if unstable_enabled
262- @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "v2.list_ap_is " )
262+ @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "v2.list_apis " )
263263 else
264- raise DatadogAPIClient ::APIError . new ( message : format ( "Unstable operation '%s' is disabled" , "v2.list_ap_is " ) )
264+ raise DatadogAPIClient ::APIError . new ( message : format ( "Unstable operation '%s' is disabled" , "v2.list_apis " ) )
265265 end
266266
267267 if @api_client . config . debugging
268- @api_client . config . logger . debug 'Calling API: APIManagementAPI.list_ap_is ...'
268+ @api_client . config . logger . debug 'Calling API: APIManagementAPI.list_apis ...'
269269 end
270270 if @api_client . config . client_side_validation && !opts [ :'page_limit' ] . nil? && opts [ :'page_limit' ] < 1
271- fail ArgumentError , 'invalid value for "opts[:"page_limit"]" when calling APIManagementAPI.list_ap_is , must be greater than or equal to 1.'
271+ fail ArgumentError , 'invalid value for "opts[:"page_limit"]" when calling APIManagementAPI.list_apis , must be greater than or equal to 1.'
272272 end
273273 if @api_client . config . client_side_validation && !opts [ :'page_offset' ] . nil? && opts [ :'page_offset' ] < 0
274- fail ArgumentError , 'invalid value for "opts[:"page_offset"]" when calling APIManagementAPI.list_ap_is , must be greater than or equal to 0.'
274+ fail ArgumentError , 'invalid value for "opts[:"page_offset"]" when calling APIManagementAPI.list_apis , must be greater than or equal to 0.'
275275 end
276276 # resource path
277277 local_var_path = '/api/v2/apicatalog/api'
@@ -300,7 +300,7 @@ def list_ap_is_with_http_info(opts = {})
300300 auth_names = opts [ :debug_auth_names ] || [ :apiKeyAuth , :appKeyAuth ]
301301
302302 new_options = opts . merge (
303- :operation => :list_ap_is ,
303+ :operation => :list_apis ,
304304 :header_params => header_params ,
305305 :query_params => query_params ,
306306 :form_params => form_params ,
@@ -312,7 +312,7 @@ def list_ap_is_with_http_info(opts = {})
312312
313313 data , status_code , headers = @api_client . call_api ( Net ::HTTP ::Get , local_var_path , new_options )
314314 if @api_client . config . debugging
315- @api_client . config . logger . debug "API called: APIManagementAPI#list_ap_is \n Data: #{ data . inspect } \n Status code: #{ status_code } \n Headers: #{ headers } "
315+ @api_client . config . logger . debug "API called: APIManagementAPI#list_apis \n Data: #{ data . inspect } \n Status code: #{ status_code } \n Headers: #{ headers } "
316316 end
317317 return data , status_code , headers
318318 end
0 commit comments