Commit Graph

95 Commits

Author SHA1 Message Date
shalvah
ddcb08461d Separate tests for Laravel and Dingo to reduce composer constraint clashes 2020-03-31 22:49:49 +01:00
Marcel Pociot
c089591a74 Apply fixes from StyleCI 2020-03-07 17:13:23 +00:00
shalvah
6f61469a9f Make "Skipping route" message descriptive 2020-02-04 23:39:45 +01:00
Shalvah
fd4a5a7f05 Merge pull request #669 from andrey-helldar/patch-2020-01-13-10-27
Added support for the latest packages
2020-01-19 15:49:53 +01:00
Andrey Helldar
6146b5d3ca Added support for PHP 7.4 and updated dependencies to the latest versions
Also see 015ac15d7f
2020-01-13 12:27:33 +03:00
Guy Marriott
07b7a5427b Adjusting existing tests for new format and fixing encoding issue 2020-01-07 17:05:16 -08:00
Marcel Pociot
aa002007bf Apply fixes from StyleCI 2019-11-02 07:59:29 +00:00
Marcel Pociot
eef9a3e0c7 Apply fixes from StyleCI 2019-10-25 19:16:27 +00:00
shalvah
c207738a1b Switch Postman request body data to raw. 2019-10-25 20:11:49 +01:00
Robbie Averill
2452d84afd Non-existent @responseFile annotations now show a warning for the route 2019-10-22 15:03:44 -07:00
Marcel Pociot
ec2a721e31 Apply fixes from StyleCI 2019-10-15 21:21:20 +00:00
shalvah
d5fb1c0bcd Reorganize code 2019-10-13 19:34:33 +01:00
shalvah
7bdd05379d Add isStatic option. Store source in resources/docs and output in public 2019-10-12 02:06:43 +01:00
shalvah
0135cca67d Move groupName, groupDescription, title, description, and authenticated into parsed route metadata 2019-10-10 22:49:03 +01:00
shalvah
d23710171d Made ResponseCalls strategy only execute if no successful responses exist. 2019-10-10 22:36:50 +01:00
Marcel Pociot
5324b9df29 Apply fixes from StyleCI 2019-10-09 22:46:00 +00:00
shalvah
6d1834324b Remove apply.response_calls.headers in favour of apply.headers 2019-10-09 23:45:19 +01:00
shalvah
4bbddb7e7b Merge remote-tracking branch 'origin/feature/api-resources' into v4 2019-10-08 22:22:39 +01:00
shalvah
94955ae465 Bugfix 2019-10-08 22:21:18 +01:00
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
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
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
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
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
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
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
c7b0c79c8d Merge remote-tracking branch 'origin/master' 2019-06-08 12:39:49 +02: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
62185f6295 tests fix 2019-05-28 10:17:26 +10:00
Zolotov Alexander
0b1d43cdbf add tests 2019-05-28 09:46:50 +10:00
Radoslav Vitanov
d915818248 Fix domain name for the generated links 2019-02-10 17:03:11 +02:00
Enrico Werkema
8e37a7136c Clean up style 2019-01-04 15:40:21 +01:00
Enrico Werkema
8ac4b33b21 Fix custom app url in Postman collection
The Postman collection currently doesn't use the APP_URL environment variable. This can be forced in the URL Laravel Facade
2019-01-04 15:38:10 +01:00
Marcel Pociot
2e66407a3b Apply fixes from StyleCI 2018-12-12 20:58:24 +00:00
Shalvah
8ca27199ab Update GenerateDocumentationTest.php 2018-12-12 21:50:16 +01:00
Shalvah
68507895e0 Merge branch 'master' into feat/natsort 2018-12-12 21:48:35 +01:00
An Phan
b73114f47a Fix CS 2018-12-11 18:09:50 +01:00
An Phan
b530057e68 Support partial resource controller (fixes #426) 2018-12-11 18:04:25 +01:00