Swagger2::Editor - A WEB based Swagger2 API editor
Swagger2::Editor is a WEB based Swagger2 API editor.
$ mojo swagger2 edit /path/to/api.json --listen http://*:3000
Returns path to swagger specification file. Defaults to SWAGGER_API_FILE environment variable.
SWAGGER_API_FILE
Will render the editor and any Swagger specification given as input.
Can also just render the POD if requested as /.txt instead.
/.txt
Will parse the JSON/YAML in the HTTP body and render it as POD.
Used to set up the "ROUTES".
Copyright (C) 2014, Jan Henning Thorsen
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
To install Swagger2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Swagger2
CPAN shell
perl -MCPAN -e shell install Swagger2
For more information on module installation, please visit the detailed CPAN module installation guide.