---
name: "Swagger2::POD"
section: "3pm"
platform: "linux"
package: "libswagger2-perl"
version: "0.77-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Swagger2::POD"
---

# Swagger2::POD(3pm)

Convert swagger API spec to Perl documentation

## NAME

Swagger2::POD - Convert swagger API spec to Perl documentation

## DESCRIPTION

Swagger2::POD is a module that can convert from "Swagger2" to POD.

## SYNOPSIS

```
  use Swagger2;
  my $swagger = Sswagger2->new("file:///path/to/api-spec.yaml");
  print $swagger->pod->to_string;
```

## METHODS

### to\_string

```
  $str = $self->to_string;
```

Will convert swagger API spec to plain old documentation.

## 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 - `"jhthorsen@cpan.org"`
