Swagger2::POD - Convert swagger API spec to Perl documentation
Swagger2::POD is a module that can convert from "Swagger2" to POD.
use Swagger2; my $swagger = Sswagger2->new("file:///path/to/api-spec.yaml"); print $swagger->pod->to_string;
$str = $self->to_string;
Will convert swagger API spec to plain old documentation.
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.