Commit Graph

47 Commits

Author SHA1 Message Date
shalvah
f0f2aea049 Update tests 2019-10-08 22:13:18 +01:00
shalvah
7bc9339f20 urlParam: update tests 2019-10-06 18:33:54 +01:00
shalvah
20dbba94f5 Add better support for arrays and objects in bodyparameters 2019-10-06 17:48:02 +01:00
shalvah
18938eb407 Set status code for transformer response from tag if present 2019-09-07 16:32:59 +01:00
Marcel Pociot
1da32f9cba Apply fixes from StyleCI 2019-09-02 16:20:32 +00:00
shalvah
d209dff999 Move Responses to strategies 2019-09-02 17:05:35 +01:00
Shalvah
9d366efec8 Merge pull request #552 from MarnuLombard/feature/examples/exclude_from_examples
Allows users to exclude a parameter from having an example
2019-08-31 12:15:55 +01:00
Marcel Pociot
77ed9943f8 Apply fixes from StyleCI 2019-08-31 10:43:25 +00:00
shalvah
5647eda35e Parse @group tag on method properly - fixes #564, #561 2019-08-31 11:43:08 +01:00
Marnu Lombard
e31dfdf1f1 Add tests for excluding query and body params
- Test that a valid result is returned
- Test that all query params are ignored
- Test for non-existence of specific body param
2019-08-26 09:41:04 +02:00
Daniel Alm
6bc4b53f8c Add support for query parameters in the bash template and ensure that all query parameters are URL-encoded. 2019-07-29 11:33:01 +02:00
Marcel Pociot
9be9cd2ecb Apply fixes from StyleCI 2019-06-23 20:25:02 +00:00
shalvah
b164263158 Add tests on output, config and bindings 2019-06-23 21:06:36 +01:00
yusuke nakazawa
cf5f422051 test: add withMultipleFormRequestParameters 2019-03-11 15:56:45 +09:00
Michael Wallner
1265719bf4 fallback to method docblock if FormRequest subclass has no docblock 2019-02-16 01:10:41 +01:00
Michael Wallner
84e425d964 allow bodyParams to be noted in a FormRequest subclass 2019-02-16 00:59:46 +01:00
Ezra Obiwale
59f6ca9478 Added array example for dot-noted parameters 2019-01-08 09:46:25 +01:00
Ezra Obiwale
bc1e4db94c Added url query array parameter example 2019-01-08 09:42:34 +01:00
Ezra Obiwale
77b7083d98 Added tests 2019-01-07 00:46:36 +01:00
franko4don
a6333b0d3a added tests for modifying response file by adding a json beside file storage path in responseFile tag 2018-12-16 22:09:44 +01:00
Michał Golon
c14b9ab538 Update tests 2018-11-30 20:36:57 +01:00
Gabriel Peixoto
faf1182535 Fix test 2018-11-27 18:51:33 -03:00
Gabriel Peixoto
1e7b7cc853 Revert to use storage_path 2018-11-27 18:34:37 -03:00
Gabriel Peixoto
68fb2ee96a Use Storage Facade to load the file, using the default driver (config/filesystems.php) 2018-11-27 17:17:19 -03:00
Gabriel Peixoto
b0744fbc44 Test: get response from stored json file 2018-11-26 21:35:13 -03:00
shalvah
c7e49529af Add support for specifying example parameters (closes #391) 2018-10-26 09:38:04 +01:00
Lawrence Agbani
1ced3ec14e Merged upstream into working tree 2018-10-21 00:58:48 +02:00
Lawrence Agbani
e60d2751bc Added feature 344 to include @queryParam annotation for query parameters 2018-10-21 00:14:14 +02:00
shalvah
8c62c542b0 Reimplement response calls (#364) 2018-10-16 01:51:26 +01:00
shalvah
bb96d0f8fc Allow method to override controller @group (closes #339) 2018-10-14 16:09:13 +01:00
shalvah
10994ed36e Fix style issues 2018-10-13 09:26:15 +01:00
shalvah
b8ad92b9e5 Add authenticated annotation and badge support (closes #345) 2018-10-13 09:22:10 +01:00
shalvah
6e60d14ea2 Make bodyParam parsing more rbust 2018-10-12 14:26:08 +01:00
shalvah
1418ed9189 Update tests 2018-10-11 15:13:53 +01:00
shalvah
dd55e48dd6 Implement parsing of bodyParam tag (#343) and switch tests to use config (#303) 2018-10-11 13:29:32 +01:00
shalvah
676e6f496c Fix #317 - generate responses from @response tag regardless of HTTP method 2018-09-11 17:12:02 +01:00
Gustavo Real
fef4712966 support custom validator method on laravel form request 2017-10-10 17:21:48 +01: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
Marcel Pociot
aaa36dcd6c Use JSON_UNESCAPED_UNICODE - Fixes #102 2016-11-24 23:17:57 +01:00
Marcel Pociot
82368fbd97 Add support for custom headers on example calls #76 2016-09-14 11:43:19 +02:00
Marcel Pociot
0626c807c0 Applied fixes from StyleCI 2016-08-10 07:32:31 -04:00
Marcel Pociot
64714c7cd9 Added '@hideFromAPIDocumentation' tag 2016-08-10 13:32:05 +02:00
Marcel Pociot
74dd9d54ea Add check for route groups
Modify FormRequest detection to allow usage of the IoC container
2016-08-09 15:40:19 +02:00
Marcel Pociot
3075613741 Fixes #51 2016-07-18 10:46:46 +02:00
Marcel Pociot
477dfcf2c0 Applied fixes from StyleCI 2016-06-23 15:04:28 -04:00
Marcel Pociot
a73f21aecc Added test to see if route responses get fetched correctly (#43) 2016-06-23 21:04:18 +02:00
Lucas Michot
90399b50e9 Use PSR4 for tests 2016-05-24 13:31:32 +02:00