NAME
Mojolicious::Command::swagger2 - mojo swagger2 command
DESCRIPTION
Mojolicious::Command::swagger2 is a command for interfacing with Swagger2.
SYNOPSIS
# Call a method with argumentsmojo swagger2 client path/to/spec.json <method> [args]# List methodsmojo swagger2 client path/to/spec.json# Get documentation for a methodmojo swagger2 client path/to/spec.json <method> help# Specify spec and/or base URL from environment.# Useful for shell wrappersSWAGGER_API_FILE=path/to/spec.json mojo swagger2 client <method>SWAGGER_BASE_URL=https://example.com/1.0 mojo swagger2 client <method># Example argumentsmojo swagger2 client path/to/spec.json list_pets '{"limit":10}'mojo swagger2 client path/to/spec.json list_pets limit=10 owner=joemojo 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 Thorsen
This 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 - "[email protected]"