This package generates a Haxe class from a swagger specification file. The code is generated using mustache templates.

Installation

haxelib install build.hxml
haxe build.hxml

Usage

node cmd.js -swagger [myswagger.json] -className [myRouterClassName]

exemple

node cmd.js -swagger swagger.json -className Api

will output Api.hx