Swagger makes use of a property discriminator
to support polymorphism in custom types. We have now added support for this property in our system. We also offer an extension that will allow you to specify a custom value for the discriminator to override its default value.
62 posts tagged with "New Feature"
View All TagsAdditional properties now allowed in CSharp
We've now added support for additional properties in models in the CSharp SDK. The additional properties are deserialized and stored in a dictionary inside the model.
This can be enabled via navigating to the Settings > CodeGen Settings
page in the API editor and enabling the Enable Additional Model Properties
flag.
Swagger Server Configuration Extension
APIMATIC now offers you a swagger extension to specify Server Configuration details within your Swagger file. When you import this file, we will extract the relevant server configuration information from this extension.
Details
Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template parameters. You can view more details about these configurations at Server Configuration. We have added support for an extension to help you specify this information without having to manually add it through the editor everytime you import your Swagger file. For more details on this extension please see Swagger Server Configuration Extension
Multiple Datetime Formats in Angular
We have now added support for multiple datetime formats in our Angular 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)
Added Support for Loading Relative Schema Files in WADL and WSDL
If you have WADL/WSDL files with references to external schema files that exist relative to your root file, then you can import/convert them successfully. These files may be accessible by URL or a ZIP file.
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)
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.
Exception Classes Added in Node SDKs
Exception Classes support has been added to Node SDKs. Generate your SDK again to get this new feature!
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!