In the improved Python SDK, fields of a custom type can now differentiate between a nullable value and a missing value and will operate according to the behavior of the type specified. This way you can either pass a value that corresponds to the type specified, use null
as a value or skip the field altogether depending upon the defined behavior of the field.
Adding Support for Optional/Required Properties for oneOf and anyOf in Java SDKs
OAS allows you to set optional/required
properties in models. While serializing a model, optional properties will be omitted if the value of property is not set (i.e. initialized with null) and, required properties will be serialized in any case. This is a case of factoring schema in oneOf/anyOf
. Now with this support, you can define properties with the same names but with different optional/required constraints in request/response
of an endpoint.
Adding Support to Configure Adapter during Client Initialization of Ruby SDKs
APIMatic CodeGen has now added support to configure the default Faraday connection
with available Faraday adapters
in Ruby SDKs.
Introducing API Specification Export, Error Message Enhancements in Self Hosted API Portals
APIMatic’s Self Hosted Portal offering has been augmented with the following enhancements:
- API Specification export
- Detailed and informative exception messages
- Ignore MacOS specific files in build input
Adding Support for Multiple Authentication Schemes in Python SDKs
APIMatic announces the support for multiple authenticaion schemes in Python SDKs. With the new design, it has become quite easy to configure multiple authentication schemes per SDK. All of the auth managers are instantiated at the start during the client initialization. After that their relevant auth managers can be used to apply auth schemes per endpoint as required in SDK.
Dropping Support for Ruby Version 2.5 in Ruby SDKs
We are now dropping support for Ruby version 2.5
in Ruby SDKs. Ruby 2.5
hit EOL status on 2021-03-31 as per the official source. As a result of dropping Ruby 2.5
, we are now able to relax version constraints on some of the Ruby SDKs dependencies.
Handling Object Type as Dictionary for oneOf and anyOf in Java SDKs
OpenAPI Specification allows you to add an object
type in oneOf
and anyOf
in Java SDKs. Defining an object
type means any key/value pair is accepted. Object
type in Java means it can refer to any instance, as Object
is the root class. Therefore, this change enforces that for any object
type case falling under oneOf
and anyOf
, the Java SDK will treat it as Map
.
Introducing Support for Complex Query Parameters in PHP SDKs
PHP SDKs now support complex query parameters with which you can send a complex type as well as arrays/maps of complex types in query strings.
Adding Support for Nullable Types in oneOf and anyOf in Java SDKs
OAS allows marking properties as nullable, but previously this flag was not being respected in the Java SDK where oneOf/anyOf
was being used. Now with this release, the Java SDK fully respects the nullable attribute during serialization & deserialization for oneOf/anyOf
properties.
Adding Support for Enums in oneOf and anyOf in Java SDKs
Java SDKs now support enum types defined as oneOf/anyOf types. You can define as many distinct enum types as required with this support.