PUM, Swagger, C# and Gemstone

Same procedure as yesterday … take the runtime of swagger for C# and produce support files for this language … within a day I have a binding for our REST system in C#.

The procedure creates a single file with all classes (for data) and for the API class with all functions you need to do calling the REST API.

To make a new project work you have to do the following steps:

  • Please add ApiException,cs, ApiInvoker.cs from Swagger-CSharp Runtime to your project
  • Change the namespace of Apiinvoker and ApiException according to your needs
  • Add System.Web, System.Web.Extensions as reference to your application
  • Your .NET Application uses the full .Net System – not the Client-only profile
  • Add Newtonsoft.Json.Net40 to your solution
This entry was posted in Smalltalk and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s