Swagger IO: Automate client code generation

The [Swagger.IO Editor] UI is great for generating code, but sometimes you want to automate the whole process. You might have to do that if your REST API has upcoming changes and if you always want to keep your client up to date.

[swagger-codegen]

Make sure you have [JDK7] (or better) and [Maven] in your path.

[Getting Started] shows a quick example for getting the project with GIT clone and generating a client on the command-line.

1 GIT Clone [tgraupmann-swagger-codegen]

2 Run [maven_clean_package] after cloning the repo

3 The [generate_java_clients.cmd] script will auto-generate the Razer Arena JAVA clients.

@todo: [automate these changes in the swagger java templates]

Implemented: Get the changes with a [Pull Request]

Chromium Embedded Framework

The [Chromium Embedded Framework (CEF)] is a simple framework for embedding Chromium-based browsers in other applications.

[cef overview]

[Xilium.CefGlue] is a .NET/Mono binding for The Chromium Embedded Framework (CEF).

[project website]

[Chromium Embedded Framework 3 Builds]

The CEF [Add support for the Web Speech API] feature requires that [api keys] are generated to work and are capped at [50 requests].

[Google Cloud Speech Samples]

[Cloud Speech Discussion Group]

[SimpleUnityBrowser]

Forums: [UnityCEF]

Forums: [CEF Speech API]:

It is NOT possible to get additional quota for Chrome’s Speech API. Look at the [Cloud Speech API] instead.

Do NOT post to any Chromium groups/mailing lists for questions about the Speech API.

[Google Developers Console]

[Chrome Speech Demo]

Source: [fork]

[Communication between C# and JavaScript with CefGlue]

[JS Bindings]

Swagger.io

[Swagger] is a powerful open source framework backed by a large ecosystem of tools that helps you design, build, document, and consume your RESTful APIs.

The [Swagger Editor] will autogenerate code for a ton of languages.

image_2

**Note on code generation issues**
Please open an issue in [Swagger Codegen] repository for any issue with generating code or issues with generated codes.

[Ambiguous Object]
[Generating Enum Values]

Made a temporary [Windows.Forms] project to automate syntax fixes.

image_1

Two potential devs that worked on the Java client.
[David Kiss] from Toronto, Canada
[Xu Hui Hui] from Lianyungang, China

I do have [some questions] about the Swagger Android client.

Vimeo Developer Portal

The [Vimeo Developer Portal] has information on how to embed Vimeo videos into your applications.

Docs: [JavaScript API]
Docs: [config.xml specifications]
[API Example Repository]
[API Playground]

The [ADB Chrome Add-On] lets you debug [Cordova] in the browser while the app is running on Android.

Unfortunately because of the [same origin policy], the Vimeo API can’t be invoked from HTML5 invoked from `file:///`. Chromium has a [Command-Line] to specify `–disable-web-security` when doing local development. Web security should be enabled for the final application.

[content-security-policy specification]

WordPress 4.4 Released

WordPress 4.4 officially released yesterday which adds new [API] features. WordPress is a great content management system for things like websites with blogs.

A recent change to HTTPS has made generating new certificates FREE! HTTPS is necessary if you have a site with logins or private data where you want to encrypt the web traffic. [Dreamhost] has a blog post for adding HTTPS support to Dreamhost hosted domains.

Raspberry PI 2 – Sails.js

Installing Sails.js required building and installing Node.js from source.

I let the source build overnight and then moments later ‘sails lift’ was functional.
https://github.com/tgraupmann/TAGENIGMA-Docs/blob/master/Sails.md

Also the reference guide is super helpful.
http://sailsjs.org/#!/documentation/reference/

Here is also a useful C# client:
https://github.com/Quobject/SocketIoClientDotNet