Commit Graph

84 Commits

Author SHA1 Message Date
Marcel Pociot
69121bb200 Apply fixes from StyleCI 2019-08-25 20:42:15 +00: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
b164263158 Add tests on output, config and bindings 2019-06-23 21:06:36 +01:00
shalvah
793f15ace8 Fix tests 2019-05-02 21:30:54 +01:00
shalvah
cc5c7f6a7b Use bound URL in doc examples (closes #478) 2019-04-22 22:26:11 +01:00
yusuke nakazawa
cf5f422051 test: add withMultipleFormRequestParameters 2019-03-11 15:56:45 +09:00
Marcel Pociot
e259d779ae Apply fixes from StyleCI 2019-02-27 20:46:58 +00: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
Shalvah
e98c7f4df0 Merge pull request #443 from ewerkema/name
Specify more Postman parameters
2019-01-25 19:45:03 +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
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
Enrico Werkema
14afe077e9 Specify more Postman parameters
Name and description of Postman collection can be specified
2019-01-04 15:14:30 +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
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
An Phan
817f882ed8 Sort the groups naturally (fixes #423) 2018-12-11 17:48:51 +01:00
Michał Golon
c14b9ab538 Update tests 2018-11-30 20:36:57 +01:00
Shalvah
3ffd1cc4fa Merge pull request #411 from Potelo/javascript-fetch
Use javascript fetch instead of jquery
2018-11-28 21:09:03 +01:00
Gabriel Peixoto
12da3ca253 Use javascript fetch instead of jquery. resolve #330 2018-11-27 20:10:08 -03: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
shalvah
8628be4c12 Fix issues with rendering example requests 2018-10-26 08:47:17 +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
62f2cea58e Fix style issues, remove per-router generators 2018-10-16 03:59:39 +01: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
9e270b02fe Remove unused fixtures 2018-10-11 13:30:54 +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
87473f5a44 Add tests for partial resource routes (#295) 2018-10-07 00:25:46 +01:00
shalvah
70c0cda1cf Add tests for prependinf and appending markdown (#191) 2018-09-16 10:13:35 +01:00
shalvah
d5bbd7b94e Add support for appending/prepending markdown content (closes #262) 2018-09-15 21:10:23 +01:00
shalvah
fae5fd142f Fix formatting issues with generated markdown (Fixes #191) 2018-09-15 20:46:57 +01:00
shalvah
676e6f496c Fix #317 - generate responses from @response tag regardless of HTTP method 2018-09-11 17:12:02 +01:00