Commit Graph

105 Commits

Author SHA1 Message Date
shalvah
fc5d112362 Improve error handling 2020-05-08 20:29:32 +01:00
shalvah
6b57d4766d Fix dingo tests 2020-05-07 00:34:31 +01:00
shalvah
834ab7ab98 Update deps 2020-05-03 14:59:37 +01:00
shalvah
688020662c Add support for states, relations, and pagination in API Resources and Transformer 2020-04-30 19:02:40 +01:00
shalvah
d43a09106b Add support for @responseField annotation; rework strategy class constructor 2020-04-21 18:27:46 +01:00
shalvah
221018765b Fix tests 2020-04-12 13:05:39 +01:00
shalvah
277f3d1080 Rename project to Scribe 2020-04-10 21:01:30 +01:00
Marcel Pociot
f0931b7fe9 Apply fixes from StyleCI 2020-04-10 02:51:27 +00:00
shalvah
d8dca9a8f2 Merge branch 'master' of https://github.com/YSDSRND/laravel-apidoc-generator into YSDSRND-master
# Conflicts:
#	src/Commands/GenerateDocumentation.php
#	src/Tools/Utils.php
#	tests/GenerateDocumentationTest.php
2020-04-10 03:50:42 +01:00
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
Johan Björk
fda4838e96 Implement closure support 2020-02-08 16:41:51 +01: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