The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OpenAPI::Generator - generate openapi definition

VERSION

Version 0.06

SYNOPSIS

Generate openapi definitions from various places.

  use OpenAPI::Generator;

  my $openapi_def = openapi_from(pod => {src => 'Controller.pm'});

Checkout modules OpenAPI::Generator::From::* to get more information about generations

EXPORTS

openapi_from($module, $conf)

SUBROUTINES

openapi_from($module, $conf)
  # using OpenAPI::Generator::From::Pod
  openapi_from(pod => {src => './Controller.pm'})
  openapi_from(pod => {src => './Controllers/'})

AUTHOR

Anton Fedotov, <tosha.fedotov.2000 at gmail.com>

BUGS

Please report any bugs or feature requests to https://github.com/doojonio/OpenAPI-Generator/issues

SUPPORT

You can find documentation for this module with the perldoc command.

  perldoc OpenAPI::Generator

LICENSE AND COPYRIGHT

This software is Copyright (c) 2021 by Anton Fedotov.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)