Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Swagger codegen templates for the open source Adafruit IO server and clients

License

Notifications You must be signed in to change notification settings

adafruit/io-swagger-templates

Repository files navigation

Adafruit IO Swagger Codegen Templates

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.

Build Instructions

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

Contributing

  1. Fork and clone your copy of this repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push -u origin my-new-feature)
  5. 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.

License

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.

About

Swagger codegen templates for the open source Adafruit IO server and clients

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published