If the required
property is skipped while defining a Model Object in Swagger 1.2 we now assume all properties as optional by default
Multiple Datetime Formats in SDKs
We have now added support for multiple datetime formats in our SDKs. The following formats are supported:
- RFC1123 Datetime
(Mon, 15 Jun 2009 20:45:30 GMT)
- RFC3339 Datetime
(2016-03-13T12:52:32.123Z)
- Unix Timestamp
(1480809600)
Node Index File Import Bug Fix
There was a bug in the index
file of the generated SDK. The import for configuration.js
was not handled correctly. This bug was causing trouble in using the properties and functions exported from configuration.js
.
You may generate your SDK again to get this bug fix.
Model Imports Bug Fix In Node
We encountered an error with custom types import in our Node SDK (with test cases). Custom Types which had spaces in between 2 words like Custom Type
, or any special characters in their name were not being generated correctly. Causing the SDK to break.
This bug has been fixed now. Please regenerate your SDK if you encountered this bug.
Swagger Import Will Now Assume Parameter is Optional by Default
When defining the Parameter Object
in Swagger v1.2 or v2.0, they asssume default value for required
property as false
. We were previously keeping the default value for it to be true
but now we conform strictly to the Swagger specification.
NodeJS SDKs Now Have Retries
Node JS SDKs now come with retries for requests. We allow retries for the following cases:
- GET requests only.
- General connection errors.
- Timeout errors.
- DNS address resolution failure errors.
Re-generate your Node JS SDKs now to get this new feature.
PHP SDKs Are Now PSR-2 Compliant
APIMATIC's PHP SDKs are now compliant with the PSR-2 Coding Style Guide
- PSR-2 compliance means that the PHP code generated is guaranteed to be of high-quality.
- PHP SDKs are written in a industry-standard code style to allow for maximum interoperability.
- PHP SDKs can be tested for code style violation using the PHP Code Sniffer.
Re-generate your PHP SDKs now for the new changes.
Exception Classes Added in Node SDKs
Exception Classes support has been added to Node SDKs. Generate your SDK again to get this new feature!
Package File Fix
There was a bug being generated in the package.json
file with Node SDKs that had no test cases. The bug was related to trailing commas being generated in the package
file's dependencies. Causing the package
file to not resolve dependencies. The bug has been fixed now.
Please regenerate your NodeJS SDK to get the bug fix
Global Errors Implemented In Node SDKs
NodeJS SDKs now have both Local(endpoint specific) and Global Level (API specific) errors implemented as specified in the API Descriptions.