NAME

Sub::Spec::Clause::statuses - Specify possible return status codes

VERSION

version 0.15

SYNOPSIS

NOT YET FLESHED OUT.

# result is an integer
statuses => {
    200 => { summary => ..., description => ..., result => SCHEMA, ... },
    500 => { ... },
    # ...
}

DESCRIPTION

SEE ALSO

Sub::Spec

Data::Sah

Sub::Spec::Clause::result

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.