table of contents
other versions
- stretch 0.77-1
Mojolicious::Command::swagger2(3pm) | User Contributed Perl Documentation | Mojolicious::Command::swagger2(3pm) |
NAME¶
Mojolicious::Command::swagger2 - mojo swagger2 commandDESCRIPTION¶
Mojolicious::Command::swagger2 is a command for interfacing with Swagger2.SYNOPSIS¶
# Call a method with arguments mojo swagger2 client path/to/spec.json <method> [args] # List methods mojo swagger2 client path/to/spec.json # Get documentation for a method mojo swagger2 client path/to/spec.json <method> help # Specify spec and/or base URL from environment. # Useful for shell wrappers SWAGGER_API_FILE=path/to/spec.json mojo swagger2 client <method> SWAGGER_BASE_URL=https://example.com/1.0 mojo swagger2 client <method> # Example arguments mojo swagger2 client path/to/spec.json list_pets '{"limit":10}' mojo swagger2 client path/to/spec.json list_pets limit=10 owner=joe mojo swagger2 client path/to/spec.json -b https://example.com/1.0 list_pets limit=10 owner=joe
ATTRIBUTES¶
description¶
Returns description of this command.usage¶
Returns usage of this command.METHODS¶
run¶
See "SYNOPSIS".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.
AUTHOR¶
Jan Henning Thorsen - "jhthorsen@cpan.org"2016-04-17 | perl v5.22.1 |