Changelog / CSHARP

This changelog is filtered to show only changes for CSHARP. Go back to full changelog.

Feb 27, 2019

Token Refresh on Expiry in OAuth 2 Client Credential Flow

We’ve updated our SDKs that use OAuth 2 Client Credential Flow to enable automatic re-authorization of the client when the OAuth token is expired.

Oct 22, 2018

Do-Not-Split Words in Code Generation Settings

We have added a new CodeGen setting that allows you to specify a list of words that Code Generation will not split when converting identifiers from API specification to language-specific identifiers. This is useful for declaring brand names such as APIMatic.

E.g. if you provide the words apimatic and vmware in your the list, APIMaticandvmWare becomes ApimaticAndVmware or apimatic_and_vmware, depending on the place of use.

Oct 8, 2018

Support for Contact Info in API Editor and SDKs

We have added support for adding contact information of the organization maintaining the API in our API editor.

Sep 24, 2018

Allow Skipping Verification of SSL Certificates

Our Android, .Net, Go, Java, NodeJS, PHP, Python and Ruby SDKs now allow skipping verification of SSL certificates. To do this enable the CodeGen Setting Allow Skipping Certificate Verification and then set the corresponding configuration variable in the respective SDK.

Sep 28, 2017

CSharp SDKs Are Now StyleCop Compliant

APIMATIC’s CSharp SDKs are now compliant with the StyleCop Coding Style Guide

  • StyleCop compliance means that the CSharp code generated is guaranteed to be of high-quality.
  • CSharp SDKs are written in a industry-standard code style to allow for maximum interoperability.

Re-generate your CSharp SDKs now for the new changes.

Jul 28, 2017

New Target - .NET Standard SDK

We are excited to announce the latest addition to our long list of supported platforms. Our C# section now has a new template for a .NET Standad library in addition to the already supported PCL and UWP templates. This library targets .Net Standard 1.3.

Jul 28, 2017

Switching to native .NET HttpClient.

We are happy to anounce that our .NET SDKs have now switched to the stabler, frequently updated and regularly maintained native HttpClient found in the System.Net.Http Assembly.

Jul 28, 2017

Newtonsoft Json.NET Version Update to 10.0.3

Our CSharp .NET SDKs have been updated to use the 10.0.3 version of the Newtonsoft Json.Net utility. This comes with numerous new features, bug fixes, wider support and increased stability.

Jul 12, 2017

OAuth 2.0 Authorization Support Added

Our API editor and Code Generation engine now supports OAuth 2.0 for authentication in the generated SDKs.

OAuth 2 enabled SDKs will help developers in:

  • Obtaining consent from user
  • Acquiring access token
  • Refreshing tokens when they expire
  • Making authorized API calls

You can read more about OAuth 2.0 in APIMatic editor and Code Generation engine here.

Apr 7, 2017

Polymorphic Responses with Discriminator Field

APIMatic Code Generation engine now supports polymorphic responses with the help of a discriminator field.

  • Discriminator is a field that is used to differentiate between a parent model and models that inherit from it.
  • The response is deserialized into the parent model or one of its child classes by inspecting the discriminator field’s value in the response.
  • Using a discriminator field, you can build leaner models by not having to build unions of fields needed by a polymorphic response.

Check out the Discriminator documentation to get started.