Page MenuHomeFreeBSD

D19919.id56236.diff
No OneTemporary

D19919.id56236.diff

Index: www/Makefile
===================================================================
--- www/Makefile
+++ www/Makefile
@@ -803,6 +803,7 @@
SUBDIR += p5-Dancer-Plugin-REST
SUBDIR += p5-Dancer-Plugin-RPC
SUBDIR += p5-Dancer-Plugin-SiteMap
+ SUBDIR += p5-Dancer-Plugin-Swagger
SUBDIR += p5-Dancer-Plugin-ValidationClass
SUBDIR += p5-Dancer-Session-Cookie
SUBDIR += p5-Dancer-Template-Xslate
Index: www/p5-Dancer-Plugin-Swagger/Makefile
===================================================================
--- /dev/null
+++ www/p5-Dancer-Plugin-Swagger/Makefile
@@ -0,0 +1,42 @@
+# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
+# $FreeBSD$
+
+PORTNAME= Dancer-Plugin-Swagger
+PORTVERSION= 0.2.0
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= dgeo@centrale-marseille.fr
+COMMENT= Dancer plugin to create Swagger documentation for app REST
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE_ART10= ${WRKSRC}/LICENSE
+LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-JSON>=0:converters/p5-JSON \
+ p5-Class-Load>=0:devel/p5-Class-Load \
+ p5-Clone>=0:devel/p5-Clone \
+ p5-File-ShareDir-Install>=0:devel/p5-File-ShareDir-Install \
+ p5-File-ShareDir-Tarball>=0:devel/p5-File-ShareDir-Tarball \
+ p5-List-AllUtils>=0:devel/p5-List-AllUtils \
+ p5-Moo>=0:devel/p5-Moo \
+ p5-MooseX-MungeHas>=0:devel/p5-MooseX-MungeHas \
+ p5-MooX-Singleton>=0:devel/p5-MooX-Singleton \
+ p5-Path-Tiny>=0:devel/p5-Path-Tiny \
+ p5-PerlX-Maybe>=0:devel/p5-PerlX-Maybe \
+ p5-Hash-Merge>=0:textproc/p5-Hash-Merge \
+ p5-Dancer>=0:www/p5-Dancer \
+ p5-Dancer-Plugin-REST>=0:www/p5-Dancer-Plugin-REST
+TEST_DEPENDS= ${RUN_DEPENDS} \
+ p5-Test-Deep>=0:devel/p5-Test-Deep \
+ p5-Test-WWW-Mechanize-PSGI>=0:devel/p5-Test-WWW-Mechanize-PSGI
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Index: www/p5-Dancer-Plugin-Swagger/distinfo
===================================================================
--- /dev/null
+++ www/p5-Dancer-Plugin-Swagger/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553515756
+SHA256 (Dancer-Plugin-Swagger-0.2.0.tar.gz) = 468e64f562103de517950c4c3752707d78fb054053bfcd8666f50f1d8648471d
+SIZE (Dancer-Plugin-Swagger-0.2.0.tar.gz) = 811613
Index: www/p5-Dancer-Plugin-Swagger/pkg-descr
===================================================================
--- /dev/null
+++ www/p5-Dancer-Plugin-Swagger/pkg-descr
@@ -0,0 +1,10 @@
+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
Index: www/p5-Dancer-Plugin-Swagger/pkg-plist
===================================================================
--- /dev/null
+++ www/p5-Dancer-Plugin-Swagger/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Dancer/Plugin/Swagger.pm
+%%SITE_PERL%%/Dancer/Plugin/Swagger/Path.pm
+%%SITE_PERL%%/Dancer/Plugin/Swagger/Response.pm
+%%SITE_PERL%%/auto/share/dist/Dancer-Plugin-Swagger/shared-files.tar.gz
+%%PERL5_MAN3%%/Dancer::Plugin::Swagger.3.gz
+%%PERL5_MAN3%%/Dancer::Plugin::Swagger::Path.3.gz
+%%PERL5_MAN3%%/Dancer::Plugin::Swagger::Response.3.gz

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 25, 1:53 PM (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35475572
Default Alt Text
D19919.id56236.diff (3 KB)

Event Timeline