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.
Logging in SDKs
SDKs generated by APIMATIC now support logging events!
Error Model Deserialization Issue Fixed
A bug in PHP SDKs being generated lead to custom Error Exception Models not being deserialized properly from the response when an API error occurred. This was caused by an error in the unbox()
function in the custom Exception class. It has now been fixed.
If you were using custom Error Exceptions, then please re-generate your PHP SDKs to get the fix.
NodeJS SDK Improvement & Superagent Client Bug Fix
Code styling within NodeJS SDKs is now improved.
For everyone using our Node SDK with Superagent
as the HTTP Client, there was a bug in the handling of response when response type is binary
. It has been fixed so you can get the bug-fix by generating the SDK again.
Object Instantiation for Custom Types Improved
Object Instantiation in Custom Types files have now been improved. Only those properties (of the object) that are set in client code will be initialized and instantiated in the SDK. This will prevent any property from being undefined