Commit Graph

119 Commits

Author SHA1 Message Date
Bogdan Shtybin
f8564b60ff Added Subdomain API Router Support 2017-12-28 19:30:25 +02:00
Jordan Hoff
2d4cf80ef7 Adds authProvider and authGuard Options (#213)
* Adds authProvider Option

* Add authGuard option too
2017-07-24 16:04:13 +02:00
Tobias van Beek
6b1c502758 Adddocblockhandling (#192)
* Add the handling for a @transformer @transformercollection or @result tag in the method docblock

* Update the readme to document the @transform, @transformercollection and @response tag

* Fix the styleci issues

* Apply patch form styleci

* Add a transformermodel tag and support PHP 5

* Fix the version without a modeltag

* Always use the transformermodel tag and a codestyle issue
2017-05-29 17:14:38 +02:00
Rudie Dirkx
db46be8edc #178 URI bugfix in params in getRouteResponse() (#179) 2017-05-15 07:08:00 +02:00
Rudie Dirkx
77cd740135 #177 custom app URL for docs (#181) 2017-05-15 07:07:48 +02:00
justcodingnobb
3a0393799d Fix JWT authenticate and make view bug (#165)
* Update DingoGenerator.php

* Update GenerateDocumentation.php
2017-03-25 16:40:41 +01:00
travoltron
b764d37952 Update AbstractGenerator.php (#157)
The built in faker->randomNumber freaks out on `digits:10`, commonly seen on phone number validation. This is directionally where I'd send it, but maybe not the cleanest execution. But the basic idea is that if the length of digits being randomized is less than 9, proceed as previous, greater than that, use mt_rand() from 1,000,000,000 up to mt_randmax(), which incidentally, is still a 10 digit number... and then take the substr starting at pos{0}, and ending at the desired digit length. 

Maybe a specific regex is in order?
2017-03-14 07:33:09 +01:00
Marcel Pociot
8a8d2c28b4 Apply fixes from StyleCI 2017-01-29 21:07:28 +00:00
Marcel Pociot
a4ad23af21 Added Laravel 5.4 compatibility 2017-01-29 22:07:12 +01:00
Mark
12abacdb9e use -X METHOD for bash example (#136)
* use -X METHOD for bash example

* Make test pass

* That white space

* Update route.blade.php
2017-01-10 15:21:05 +01:00
Marcel Pociot
39d4195c0e Apply fixes from StyleCI 2016-12-07 14:57:18 +00:00
Mark
bf6f464863 Allow DI for validator/rules methods (#134)
setContainer(app())
dependency injection via app()->call()

Follow Style CI

Fix unrelated style

Use import

Style CI

Import

Style-ci
2016-12-07 15:57:13 +01:00
Marcel Pociot
8d8a4af0d3 Applied fixes from StyleCI 2016-11-24 22:31:32 +00:00
Marcel Pociot
c38692d740 Added useMiddlewares option - Fixes #112 2016-11-24 23:30:48 +01:00
Marcel Pociot
aaa36dcd6c Use JSON_UNESCAPED_UNICODE - Fixes #102 2016-11-24 23:17:57 +01:00
Marcel Pociot
ce81f238b7 Merge branch 'patch-1' of https://github.com/kiberzauras/laravel-apidoc-generator into kiberzauras-patch-1 2016-11-24 22:55:02 +01:00
f3cp
7747cd0387 Fix so that ordering within groups is preserved (to match ordering of Routes file) while groups are ordered Alphabetically (+1 squashed commit) (#126)
Squashed commits:
[b52e8e0] Fix so that grouping is sorted alphabetically

Changing the order of the sortby and groupby will allow the groups to be sorted in alphabetical order
2016-11-21 23:57:42 +01:00
Rytis
9bbc18b769 Fixes issues #65, #84 (#124)
* Fixes issue #84 and #65 

* tests fix
2016-11-13 00:32:47 +01:00
Idir Ouhab Meskine
c2388cba27 Fix issue #114 (#123)
Adding indentation to js example request
2016-11-13 00:30:25 +01:00
Rytis
4a00e39d7a Update AbstractGenerator.php 2016-11-09 14:41:13 +02:00
Rytis
d2e07d097b Update AbstractGenerator.php 2016-11-09 14:38:21 +02:00
Rytis
2a026d7f82 Update AbstractGenerator.php 2016-11-09 14:34:27 +02:00
Rytis
0baa6779ae Response example for routes with parameters 2016-11-09 14:27:50 +02:00
Marcel Pociot
c1a50b523f Fix issue #99 2016-10-19 20:45:04 +02:00
Marcel Pociot
5f37e0c293 Applied fixes from StyleCI 2016-10-06 12:43:23 +00:00
Marcel Pociot
f7f840771c Fixed Dingo part of issue #30 2016-10-06 14:43:13 +02:00
Marcel Pociot
7a50f43c94 Applied fixes from StyleCI 2016-09-14 14:08:52 +00:00
Marcel Pociot
da97597ce3 Merge branch 'master' of github.com:mpociot/laravel-apidoc-generator 2016-09-14 16:08:43 +02:00
Marcel Pociot
181e4adea6 Allow multiple required_if or required_unless rules 2016-09-14 16:08:33 +02:00
Marcel Pociot
ae8994f2fd Applied fixes from StyleCI 2016-09-14 09:43:28 +00:00
Marcel Pociot
82368fbd97 Add support for custom headers on example calls #76 2016-09-14 11:43:19 +02:00
Marcel Pociot
de38dad1e9 Add numeric and integer min, max example values #97 2016-09-14 10:49:03 +02:00
Marcel Pociot
49635dda59 Add date_format example value #97 2016-09-14 10:44:07 +02:00
Marcel Pociot
79631d0fcb Added 'file' validation rule 2016-09-14 10:38:22 +02:00
Marcel Pociot
438eea7633 Merge branch 'master' of github.com:mpociot/laravel-apidoc-generator 2016-09-14 00:01:23 +02:00
Marcel Pociot
03fe9eb072 Fix issue that ignores manually modified changes 2016-09-14 00:01:02 +02:00
Priyabrata Sarkar
976f5ed3a1 Middleware generate (#92)
* added middleware generate support

* added middleware generate support

* added middleware generate support

* added middleware generate support to dingo
2016-08-30 15:13:04 +02:00
Marcel Pociot
876777ac9f Applied fixes from StyleCI 2016-08-26 21:09:34 +00:00
Marcel Pociot
2c4dfb0c96 Return raw Dingo API results, fixing #43 and #75 2016-08-26 23:09:24 +02:00
Marcel Pociot
aa4f63bcd6 Merge branch 'master' of github.com:mpociot/laravel-apidoc-generator 2016-08-26 22:57:13 +02:00
Marcel Pociot
23fb7a162a Fixes issue #84 2016-08-26 22:56:58 +02:00
Marcel Pociot
93887c2055 Applied fixes from StyleCI 2016-08-26 20:48:58 +00:00
Marcel Pociot
1d1f122017 Fix issue #88 2016-08-26 22:48:26 +02:00
Marcel Pociot
fba1d54b70 Merge branch 'master' of github.com:mpociot/laravel-apidoc-generator 2016-08-24 00:18:59 +02:00
Marcel Pociot
2238df068b Allow publishing of views 2016-08-24 00:18:21 +02:00
Marcel Pociot
fbe4c59535 Applied fixes from StyleCI 2016-08-23 22:13:17 +00:00
Marcel Pociot
f4bff24a51 Cast actAsUser to int 2016-08-24 00:13:04 +02:00
Marcel Pociot
7174737bdb Fixes issue #83 2016-08-22 14:15:48 +02:00
Marcel Pociot
4977c61f8e Fix error when using 'exists' validation without second argument 2016-08-19 16:58:23 +02:00
Marcel Pociot
7b7da673a0 Applied fixes from StyleCI 2016-08-10 10:21:40 -04:00