Commit Graph

315 Commits

Author SHA1 Message Date
Shalvah A
a954cd2d87 Merge pull request #297 from Amirhb/master
updating route-model-binding binding technique and preparing middlewares
2018-09-07 10:54:04 +01:00
Shalvah A
8955e16b70 Merge pull request #257 from hafael/master
remove --actAsUserId parameter conversion to int
2018-09-07 10:48:48 +01:00
Shalvah A
d8ee0c842b Merge pull request #256 from asmiarowski/dev-master
Memory leak, too many connections to SQL
2018-09-07 10:21:33 +01:00
Shalvah A
d3c565c944 Merge pull request #299 from t1sh0o/feature/add-nested-array-validations
Display the validation rules for array properties
2018-09-07 01:41:14 +01:00
Shalvah A
78ad2cc253 Merge pull request #261 from ciasia/patch-1
allow formatting and aside tags
2018-09-07 01:29:19 +01:00
Shalvah A
216d1b2f8a Merge pull request #271 from sempixel/master
Correct JSON format for response tag
2018-09-07 01:19:49 +01:00
Tihomir Tonov
d6e7e79aed Fix style violation 2018-08-14 16:43:56 +03:00
Tihomir Tonov
6bb9a8cf47 Remove linting option as depricated in style CI 2018-08-14 16:40:25 +03:00
Tihomir Tonov
fdca5eeeb1 Add method to generate validation rules for nested array properties 2018-08-14 16:33:11 +03:00
Amir Hossein Babaeian
831fe37dc1 updating route-model-binding binding technique and preparing middlewares 2018-08-05 16:36:20 +04:30
vagrant
0dcb277043 Make generator only fetch response from route if method is GET 2018-04-14 12:41:33 +00:00
sempixel
fbdc6033b8 Too fast… 2018-03-12 17:35:09 +01:00
sempixel
023f3bbbf4 Merge pull request #1 from sempixel/test-fix
Test fix
2018-03-12 17:30:05 +01:00
sempixel
460d221a07 Fix test 2018-03-12 17:28:17 +01:00
sempixel
c557ca970a We have to go deeper… 2018-03-12 17:27:35 +01:00
sempixel
9d20bd6d70 Correct JSON format for @response 2018-03-12 16:16:53 +01:00
Tim
5f8c5b505c allow formatting and aside tags
The group description was escaping everything by default meaning that the aside tag (which is quite useful) can't be used in a group header. This addresses that by no longer escaping the content, as is consistent with the rest of the library.
2018-02-15 17:46:49 +11:00
Rafael Villa-Verde
70fd369b61 remove --actAsUserId parameter conversion to int 2018-01-05 13:55:02 -02:00
Sergei Belyakov
0925f83804 Update README.md (#224) 2018-01-03 10:54:19 +01:00
antimech
e8021d243f Update README.md (#226)
README.md ready for 5.5!
2018-01-03 10:54:02 +01:00
Jonathan JEAN
8917ca4c96 Laravel 5.5 auto-discovery (#217)
* Laravel 5.5 auto-discovery

* Removing extra trailing comma
2018-01-03 10:53:18 +01:00
Fabien SOMNIER
4a78f3db0f [BUGFIXES] Header containing ":" + invalid "showresponse" condition (#242)
* [BUGFIX] Header containing ":" values management

* [CHANGE] To pass styleci.io tests

* [BUGFIX] Invalid condition test to display response
2018-01-03 10:52:42 +01:00
Kovács Lajos
fe58fa263b Fixed flat design for StyleCI shield. (#244) 2018-01-03 10:51:47 +01:00
Fongoh Martin
4aab1b4498 Removed duplicate words(typo) from the sentence (#249)
Initially had As of as of Larave ... so removed one of the as of so that the language is fluent.
2018-01-03 10:51:07 +01:00
Artur Śmiarowski
e852f6b439 Memory leak, too many connections to SQL 2018-01-03 07:54:34 +01:00
Bogdan Shtybin
f8564b60ff Added Subdomain API Router Support 2017-12-28 19:30:25 +02:00
Gustavo Real
bc27ba4de2 fix code style 2017-10-10 17:38:38 +01:00
Gustavo Real
fef4712966 support custom validator method on laravel form request 2017-10-10 17:21:48 +01: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
antimech
cb009caf3b Superfluous bracket (#207) 2017-07-24 16:03:42 +02:00
Alexander Reichardt
130b59129e allow custom description for custom validation rules 2017-06-29 23:01:36 +02:00
Manash Jyoti Sonowal
ec2c9590e5 apply fixes from StyleCI 2017-06-16 23:44:44 +05:30
Manash Jyoti Sonowal
03ec9e4c36 Apply fixes from StyleCI 2017-06-16 23:43:15 +05:30
Manash Jyoti Sonowal
08a330c80a apply patch from StyleCI 2017-06-16 23:42:12 +05:30
Manash Jyoti Sonowal
d06292ac3b updated the readme with last commit 28ff33be15 which adds support for generation when there are multiple prefixes 2017-06-16 23:37:48 +05:30
Manash Jyoti Sonowal
28ff33be15 added support for multiple prefixes for routes which can be passed as separated by comma 2017-06-16 23:18:28 +05:30
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
ed92f93d01 #176 don't document HEAD Iv - tests 2017-05-25 23:18:23 +02:00
Rudie Dirkx
3fd150e230 #176 don't document HEAD III - tests 2017-05-25 23:07:21 +02:00
Rudie Dirkx
888c53d5a2 Merge branch 'master' into no_head 2017-05-25 22:52:52 +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
Rudie Dirkx
8c82799a65 #176 don't document HEAD II 2017-04-28 12:03:51 +02:00
Rudie Dirkx
585669e8d0 #176 don't document HEAD 2017-04-28 11:55:14 +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
d4ca5fce3f Remove PHP 5.5 2017-03-14 07:29:32 +01:00
Marcel Pociot
d66f5e81ac Merge pull request #152 from mpociot/analysis-8QPRlj
Apply fixes from StyleCI
2017-01-29 22:07:34 +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