Page MenuHomeFreeBSD

New port: www/p5-Dancer-Plugin-Swagger: Dancer plugin to create Swagger documentation for app REST
ClosedPublic

Authored by kai on Apr 16 2019, 8:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 9:09 AM
Unknown Object (File)
Fri, Apr 12, 9:09 AM
Unknown Object (File)
Fri, Apr 12, 9:09 AM
Unknown Object (File)
Thu, Apr 11, 6:06 PM
Unknown Object (File)
Fri, Mar 29, 7:48 PM
Unknown Object (File)
Mar 17 2024, 4:07 AM
Unknown Object (File)
Feb 1 2024, 4:37 PM
Unknown Object (File)
Feb 1 2024, 4:37 PM
Subscribers
None

Details

Summary

This plugin provides tools to create and access a Swagger specification file
for a Dancer REST web service.

Overview of Dancer::Plugin::Swagger's features:

  • Can create a /swagger.json REST specification file.
  • Can auto-discover routes and add them to the swagger file.
  • Can provide a Swagger UI version of the swagger documentation.

WWW: https://metacpan.org/pod/Dancer::Plugin::Swagger

PR: 237109
Submitted by: Geoffroy Desvernay
Approved by: (one of the mentors)

Test Plan
  • poudriere (11.2-, 12.0-RELEASE, 13.0-CURRENT@r346132 amd64 + i386) -> OK
  • portlint -> OK
  • Runtime tests -> OK

Results of "make test":

[...]
t/00-report-prereqs.t .. ok
t/basic.t .............. ok
t/definition.t ......... ok
All tests successful.
Files=4, Tests=12, 2 wallclock secs ( 0.02 usr 0.04 sys + 1.41 cusr 0.46 csys = 1.93 CPU)
Result: PASS

Minor fixes from the original patch:

  • Changed maintainer address to submitter's email address
  • Added _LICENSE_FILE
  • Added some missing dependencies for RUN_DEPENDS (detected via "make test")
  • Added TEST_DEPENDS
  • Improved description for COMMENT and pkg-plist

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 18 2019, 12:01 PM
This revision was automatically updated to reflect the committed changes.