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)
Sat, Apr 27, 1:50 AM
Unknown Object (File)
Sat, Apr 20, 2:54 PM
Unknown Object (File)
Fri, Apr 19, 1:47 AM
Unknown Object (File)
Apr 12 2024, 9:09 AM
Unknown Object (File)
Apr 12 2024, 9:09 AM
Unknown Object (File)
Apr 12 2024, 9:09 AM
Unknown Object (File)
Apr 11 2024, 6:06 PM
Unknown Object (File)
Mar 29 2024, 7:48 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

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 23688
Build 22662: arc lint + arc unit

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.