lib/cloudsmith-api/api/status_api.rb in cloudsmith-api-1.142.3 vs lib/cloudsmith-api/api/status_api.rb in cloudsmith-api-2.0.0
- old
+ new
@@ -1,7 +1,7 @@
=begin
-#Cloudsmith API
+#Cloudsmith API (v1)
#The API to the Cloudsmith Service
OpenAPI spec version: v1
Contact: support@cloudsmith.io
@@ -42,9 +42,13 @@
# query parameters
query_params = {}
# header parameters
header_params = {}
+ # HTTP header 'Accept' (if needed)
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
+ # HTTP header 'Content-Type'
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
# form parameters
form_params = {}
# http body (model)