This repository contains Swagger Codegen templates. The templates are used to generate the open source Adafruit IO server and clients from the Adafruit IO Swagger REST documentation.
Java v1.7
$ java -version
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
Apache Maven v3.3.3
$ mvn -version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.4", arch: "x86_64", family: "mac"
Node.js v0.12.0 or higher
$ node -v
v4.1.0
Clone this repository:
$ git clone --recursive https://github.com/adafruit/io-swagger-templates && cd io-swagger-templates
Install dependencies:
$ cd swagger-codegen && mvn package && cd ..
$ npm install -g grunt-cli
$ npm install
Build:
$ grunt
- Fork and clone your copy of this repository
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push -u origin my-new-feature
) - Create new Pull Request on GitHub with a detailed description of the changes
In lieu of a formal styleguide, take care to maintain the existing coding style.
Copyright (c) 2015 Adafruit Industries. Licensed under the MIT license.
Adafruit invests time and resources providing this open source code. Please support Adafruit and open-source hardware by purchasing products from Adafruit.