Commit Graph

206 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
20dbba94f5 Add better support for arrays and objects in bodyparameters 2019-10-06 17:48:02 +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
Marcel Pociot
555fb8665d Apply fixes from StyleCI 2019-09-07 14:44:22 +00:00
shalvah
90560e9729 Add tests for plugin system 2019-09-07 15:44:02 +01:00
shalvah
c5ae3ae74f Merge remote-tracking branch 'origin/plugin-arch' into plugin-arch
# Conflicts:
#	src/Tools/Generator.php
2019-09-07 13:37:30 +01:00
shalvah
ffb3563bfd Update docs, refactor API 2019-09-05 00:36:48 +01:00
shalvah
2d1be5b87d Remove deprecated helper functions 2019-09-04 23:42:15 +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
Nicholas Catanchin
35a7ee8f6a #543 Add test for https url, fixture 2019-09-05 04:25:06 +10:00
Sang Nguyen
201c824370 Fix StyleCI 2019-09-04 15:08:57 +07:00
Sang Nguyen
7ab3127fb5 Add support Laravel 6.0 & remove deprecated functions 2019-09-04 15:04:17 +07:00
Marcel Pociot
ffee319db4 Apply fixes from StyleCI 2019-09-02 20:56:16 +00:00
shalvah
7ae97a0081 Clean up 2019-09-02 21:56:00 +01: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
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
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
Marcel Pociot
69121bb200 Apply fixes from StyleCI 2019-08-25 20:42:15 +00:00
shalvah
448c224e03 Code cleanup 2019-08-25 21:31:55 +01:00
shalvah
6458e4d5f8 Remove Dingo callable tuple test - Dingo doesn't support it 2019-08-25 21:23:44 +01: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
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
Daniel Alm
573e9efb63 Include query parameters and headers in the generated Postman collection. (#537)
* Include query parameters in the generated Postman collection.

* Style fixes

* Also include headers in the Postman collection.

* Also include JSON content type headers for good measure.

* Update the tests.

* Add a test to validate the body parameters in a Postman collection.

* Remove the "Content-Type" header again, as we are actually sending content as form data.

* Add a query test and make the tests more deterministic.

* PR fixes.
2019-07-16 10:42:46 +01:00
shalvah
c0492eeae1 Fix tests 2019-07-11 20:40:11 +01:00
Marcel Pociot
9be9cd2ecb Apply fixes from StyleCI 2019-06-23 20:25:02 +00:00
shalvah
5d2be82a57 Replace file/folder manipulation with Flysystem library 2019-06-23 21:24:50 +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
shalvah
ced78cf066 Switch to apidoc.base_url 2019-06-08 12:27:36 +02:00
Shalvah
b64518339f Fix typo 2019-05-29 10:19:45 +02:00
Zolotov Alexander
6a49c2399f fix tests 2019-05-28 12:16:58 +10:00
Zolotov Alexander
867f63b83c tests fix 2019-05-28 10:38:31 +10: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