DESCRIPTION
Swagger2::Editor is a WEB based Swagger2 API editor.SYNOPSIS
$ mojo swagger2 edit /path/to/api.json --listen http://*:3000
ATTRIBUTES
specification_file
Returns path to swagger specification file. Defaults to "SWAGGER_API_FILE" environment variable.ROUTES
GET /
Will render the editor and any Swagger specification given as input.Can also just render the POD if requested as "/.txt" instead.
POST /
Will parse the JSON/YAML in the HTTP body and render it as POD.METHODS
startup
Used to set up the ``ROUTES''.COPYRIGHT AND LICENSE
Copyright (C) 2014-2015, Jan Henning ThorsenThis program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.