Commit Graph

68 Commits

Author SHA1 Message Date
Marcel Pociot
7d94de8b16 Apply fixes from StyleCI 2019-10-08 21:16:47 +00:00
shalvah
f0f2aea049 Update tests 2019-10-08 22:13:18 +01:00
Marcel Pociot
9d99fa6b5e Apply fixes from StyleCI 2019-10-06 17:34:27 +00:00
shalvah
7bc9339f20 urlParam: update tests 2019-10-06 18:33:54 +01:00
shalvah
c7740eae2b Upgrade dependencies 2019-09-07 17:23:22 +01:00
shalvah
18938eb407 Set status code for transformer response from tag if present 2019-09-07 16:32:59 +01:00
shalvah
ffb3563bfd Update docs, refactor API 2019-09-05 00:36:48 +01:00
shalvah
4572ffef35 Merge remote-tracking branch 'origin/master' into plugin-arch
# Conflicts:
#	src/Tools/Generator.php
#	src/Tools/Traits/ParamHelpers.php
2019-09-04 23:36:41 +01:00
Sang Nguyen
7ab3127fb5 Add support Laravel 6.0 & remove deprecated functions 2019-09-04 15:04:17 +07:00
shalvah
a5b1fb6a35 Merge remote-tracking branch 'origin/plugin-arch' into plugin-arch
# Conflicts:
#	src/Tools/Generator.php
2019-09-02 21:51:34 +01:00
shalvah
c3cc56177f Improve plugin API 2019-09-02 21:46:56 +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
29df46880c Move Query and Body Params to strategies
TODO: move the "clean" functionality
2019-09-02 00:24:56 +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
Shalvah
dd840854b1 Update GeneratorTestCase.php 2019-08-31 12:13:39 +01:00
shalvah
5647eda35e Parse @group tag on method properly - fixes #564, #561 2019-08-31 11:43:08 +01:00
Marnu Lombard
1f06c37805 Style-ci fixes 2019-08-26 11:32:37 +02:00
Marnu Lombard
910b06f085 Test that all parasm exist in the ...Parameters of a parsed route
- The `...Parameters` contain all values
- The `No-example` values are excluded from `cleaned...Parameters`
2019-08-26 11:30:53 +02:00
Marnu Lombard
54afbe20b3 Test using the the cleaned...Parameters for No-example tests
- The `...Parameters` contain all values
- The `No-example` values are excluded from `cleaned...Parameters`
2019-08-26 11:26:50 +02:00
Marnu Lombard
725aff30e8 Style-ci fixes 2019-08-26 09:44:11 +02: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
shalvah
abb7ef5b60 Separate endpoint group anem frmo group description and key by group name. Fixes #535 2019-08-25 21:23:11 +01:00
shalvah
b164263158 Add tests on output, config and bindings 2019-06-23 21:06:36 +01:00
Shalvah
34171313d9 Merge pull request #523 from mpociot/update-config
Switch to `base_url` config var for base URL in docs and collection
2019-06-08 11:39:45 +01:00
Marcel Pociot
4d0788e0a0 Apply fixes from StyleCI 2019-06-08 10:28:37 +00:00
Zolotov Alexander
66d8fa8c8c tests fix 2019-05-28 10:34:42 +10:00
Zolotov Alexander
62185f6295 tests fix 2019-05-28 10:17:26 +10:00
Zolotov Alexander
10e5f45829 tests fix 2019-05-28 09:59:37 +10:00
Zolotov Alexander
4d4044d1ea tests fix 2019-05-28 09:47:55 +10:00
Zolotov Alexander
0b1d43cdbf add tests 2019-05-28 09:46:50 +10:00
shalvah
3aa1becf03 Inject generator configuration rather than access global state. 2019-05-24 23:06:17 +01:00
Marcel Pociot
5c8c0909e7 Apply fixes from StyleCI 2019-05-23 18:13:56 +00:00
shalvah
d2901e51a6 Re-add faker seed + tests 2019-05-23 19:13:40 +01:00
yusuke nakazawa
cf5f422051 test: add withMultipleFormRequestParameters 2019-03-11 15:56:45 +09:00
Michael Wallner
6de096a161 code style 2019-02-16 01:34:35 +01: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
Lloric Mayuga Garcia
129e0ceea5 code style
Signed-off-by: Lloric Mayuga Garcia <lloricode@gmail.com>
2018-12-26 12:22:04 +08:00
Lloric Mayuga Garcia
70df4c9bed ♻️ Add test on new feature, try to improve code coverage.
Signed-off-by: Lloric Mayuga Garcia <lloricode@gmail.com>
2018-12-26 12:18:57 +08:00
franko4don
7d2e6a1572 changed test function name to clearly outline what the test is meant to do 2018-12-16 22:26:14 +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
6f48270cfd StyleCI fixes 2018-11-30 21:02:38 +01:00
Michał Golon
c14b9ab538 Update tests 2018-11-30 20:36:57 +01:00
Gabriel Peixoto
cfeff387e2 Fix test 2018-11-27 18:52:54 -03:00
Gabriel Peixoto
faf1182535 Fix test 2018-11-27 18:51:33 -03:00
Gabriel Peixoto
08572ae58a Code style 2018-11-27 18:37:38 -03:00
Gabriel Peixoto
1e7b7cc853 Revert to use storage_path 2018-11-27 18:34:37 -03:00
Gabriel Peixoto
83bf8d513b Code style 2018-11-27 17:19:46 -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