@@ -39,10 +39,13 @@ def create_open_api(opts = {})
3939 # It returns the created API ID.
4040 #
4141 #
42+ # @deprecated This API is deprecated.
43+ #
4244 # @param opts [Hash] the optional parameters
4345 # @option opts [File] :openapi_spec_file Binary `OpenAPI` spec file
4446 # @return [Array<(CreateOpenAPIResponse, Integer, Hash)>] CreateOpenAPIResponse data, response status code and response headers
4547 def create_open_api_with_http_info ( opts = { } )
48+ warn "[DEPRECATION] `CreateOpenAPI` is deprecated."
4649 unstable_enabled = @api_client . config . unstable_operations [ "v2.create_open_api" . to_sym ]
4750 if unstable_enabled
4851 @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "v2.create_open_api" )
@@ -109,10 +112,13 @@ def delete_open_api(id, opts = {})
109112 #
110113 # Delete a specific API by ID.
111114 #
115+ # @deprecated This API is deprecated.
116+ #
112117 # @param id [UUID] ID of the API to delete
113118 # @param opts [Hash] the optional parameters
114119 # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
115120 def delete_open_api_with_http_info ( id , opts = { } )
121+ warn "[DEPRECATION] `DeleteOpenAPI` is deprecated."
116122 unstable_enabled = @api_client . config . unstable_operations [ "v2.delete_open_api" . to_sym ]
117123 if unstable_enabled
118124 @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "v2.delete_open_api" )
@@ -180,10 +186,13 @@ def get_open_api(id, opts = {})
180186 #
181187 # Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html) format file.
182188 #
189+ # @deprecated This API is deprecated.
190+ #
183191 # @param id [UUID] ID of the API to retrieve
184192 # @param opts [Hash] the optional parameters
185193 # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
186194 def get_open_api_with_http_info ( id , opts = { } )
195+ warn "[DEPRECATION] `GetOpenAPI` is deprecated."
187196 unstable_enabled = @api_client . config . unstable_operations [ "v2.get_open_api" . to_sym ]
188197 if unstable_enabled
189198 @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "v2.get_open_api" )
@@ -251,12 +260,15 @@ def list_apis(opts = {})
251260 #
252261 # List APIs and their IDs.
253262 #
263+ # @deprecated This API is deprecated.
264+ #
254265 # @param opts [Hash] the optional parameters
255266 # @option opts [String] :query Filter APIs by name
256267 # @option opts [Integer] :page_limit Number of items per page.
257268 # @option opts [Integer] :page_offset Offset for pagination.
258269 # @return [Array<(ListAPIsResponse, Integer, Hash)>] ListAPIsResponse data, response status code and response headers
259270 def list_apis_with_http_info ( opts = { } )
271+ warn "[DEPRECATION] `ListAPIs` is deprecated."
260272 unstable_enabled = @api_client . config . unstable_operations [ "v2.list_apis" . to_sym ]
261273 if unstable_enabled
262274 @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "v2.list_apis" )
@@ -331,11 +343,14 @@ def update_open_api(id, opts = {})
331343 # The ID is returned by the create API, or can be found in the URL in the API catalog UI.
332344 #
333345 #
346+ # @deprecated This API is deprecated.
347+ #
334348 # @param id [UUID] ID of the API to modify
335349 # @param opts [Hash] the optional parameters
336350 # @option opts [File] :openapi_spec_file Binary `OpenAPI` spec file
337351 # @return [Array<(UpdateOpenAPIResponse, Integer, Hash)>] UpdateOpenAPIResponse data, response status code and response headers
338352 def update_open_api_with_http_info ( id , opts = { } )
353+ warn "[DEPRECATION] `UpdateOpenAPI` is deprecated."
339354 unstable_enabled = @api_client . config . unstable_operations [ "v2.update_open_api" . to_sym ]
340355 if unstable_enabled
341356 @api_client . config . logger . warn format ( "Using unstable operation '%s'" , "v2.update_open_api" )
0 commit comments