lib/hubspot/codegen/oauth/api/access_tokens_api.rb in hubspot-api-client-15.0.2 vs lib/hubspot/codegen/oauth/api/access_tokens_api.rb in hubspot-api-client-16.0.0
- old
+ new
@@ -4,11 +4,11 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 4.3.1
+OpenAPI Generator version: 6.2.1
=end
require 'cgi'
@@ -52,18 +52,19 @@
# form parameters
form_params = opts[:form_params] || {}
# http body (model)
- post_body = opts[:body]
+ post_body = opts[:debug_body]
# return_type
- return_type = opts[:return_type] || 'AccessTokenInfoResponse'
+ return_type = opts[:debug_return_type] || 'AccessTokenInfoResponse'
# auth_names
- auth_names = opts[:auth_names] || []
+ auth_names = opts[:debug_auth_names] || []
new_options = opts.merge(
+ :operation => :"AccessTokensApi.get_access_token",
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,