Commit Graph

780 Commits

Author SHA1 Message Date
shalvah
bc2dfbbc2b Tweak Travis config 2019-08-29 08:06:48 +01:00
shalvah
f5ea7d46f0 Tweak Travis config 2019-08-29 08:04:08 +01:00
shalvah
d5eef26cc5 Fix PHPStan config 2019-08-25 23:43:42 +01:00
shalvah
9d1abc604c Update PHPStan version 2019-08-25 23:40:08 +01:00
shalvah
03859be660 Update PHPStan version 2019-08-25 23:39:37 +01:00
shalvah
d86e04ff24 Travis config 2019-08-25 23:32:42 +01:00
shalvah
df78b512d5 Travis config 2019-08-25 23:25:37 +01:00
shalvah
bf7e45c256 Update PHPStan config - ignore errors relating to optional package 2019-08-25 23:15:05 +01:00
shalvah
c4c51c5f41 Update Travis build config 2019-08-25 23:13:21 +01:00
shalvah
4bafe50c2e Fucking StyleCI and the fucking Laravel style guide 2019-08-25 23:13:13 +01:00
Marcel Pociot
5cadf592b4 Merge pull request #559 from mpociot/analysis-z3LNBL
Apply fixes from StyleCI
2019-08-26 00:03:30 +02:00
Marcel Pociot
1f5a15c3f9 Apply fixes from StyleCI 2019-08-25 22:03:24 +00:00
shalvah
9b55aedcf6 Update PHPStan config 2019-08-25 23:03:07 +01:00
shalvah
a9ac3dcbc9 Merge remote-tracking branch 'origin/master' 2019-08-25 22:54:13 +01:00
shalvah
16cfc4f4da Update changelog 2019-08-25 22:54:00 +01:00
Marcel Pociot
a8e624c819 Merge pull request #558 from mpociot/analysis-z9E519
Apply fixes from StyleCI
2019-08-25 23:47:45 +02:00
Marcel Pociot
374e8c2a29 Apply fixes from StyleCI 2019-08-25 21:47:37 +00:00
shalvah
fe00770029 Merge remote-tracking branch 'origin/master' 2019-08-25 22:47:25 +01:00
shalvah
e1a43b0143 PHPStan linting 2019-08-25 22:47:11 +01:00
Shalvah
3f418d6e68 Merge pull request #556 from mpociot/merge-groups
Merge groups in documentation
2019-08-25 22:46:35 +01:00
shalvah
54dc2aa40e Revert Dingo version change - shit is broken and I don't know why. 2019-08-25 22:39:58 +01:00
shalvah
ddf134c1e7 Exclude the broken dingo/api 2.1.0 2019-08-25 22:28:46 +01:00
shalvah
5bd3852685 Merge remote-tracking branch 'origin/merge-groups' 2019-08-25 22:03:45 +01:00
shalvah
d469577157 Update PHPStan version constraint to support 7.0 2019-08-25 22:00:50 +01:00
Marcel Pociot
b42be94cba Merge pull request #557 from mpociot/analysis-zRaRJD
Apply fixes from StyleCI
2019-08-25 22:42:24 +02:00
Marcel Pociot
69121bb200 Apply fixes from StyleCI 2019-08-25 20:42:15 +00:00
shalvah
d5cedf430b Remove collision installation 2019-08-25 21:40:12 +01:00
shalvah
448c224e03 Code cleanup 2019-08-25 21:31:55 +01:00
shalvah
41d2b161cd Update Dingo version 2019-08-25 21:28:31 +01:00
shalvah
e91ba99e6f Fix build config - pass string rather than number as PHP version 2019-08-25 21:28:18 +01:00
shalvah
e1c5619aa0 Propagate verbosity level when error handling to Collision library 2019-08-25 21:27:54 +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
Shalvah
f691f9eb66 Merge pull request #553 from congkv/hotfix/correct_uri_in_example_request_for_php
Correct URI in example request for PHP
2019-08-21 10:35:00 +01:00
Khuong Van Cong
682fd1d40b Correct URI in example request for PHP 2019-08-21 10:46:46 +07:00
Shalvah
921a365f5b Update CHANGELOG.md 2019-08-09 19:43:04 +01:00
Shalvah
5ce01889cd Merge pull request #548 from gpressutto5/fix/null-base_url
Not using config helper inside config file
2019-08-09 19:36:02 +01:00
Guilherme Pressutto
b3a93deda0 Not using config helper inside config file 2019-08-02 09:38:32 -03:00
Shalvah
c4422ce679 Merge pull request #545 from MrMage/urlencode-query-params
Add support for query parameters in the bash template and ensure that all query parameters are URL-encoded.
2019-07-29 11:05:15 +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
Shalvah
98d04567a4 Merge pull request #540 from MrMage/patch-2
Only require the package for dev environments by default.
2019-07-17 10:15:39 +01:00
Daniel Alm
45310bf9a3 Only require the package for dev environments by default.
Given that the API docs are just static files, the generator does not need to be shipped in production environments.

Therefore, this change updates the `composer require` command in the README to only require the package in dev environments.
2019-07-16 20:17:38 +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
5f9babf6f9 Merge pull request #538 from MrMage/make-responsecallstrategy-customizable
Make a few `ResponseCallStrategy` methods `protected`.
2019-07-15 22:27:14 +01:00
Daniel Alm
e927f702fa Make a few ResponseCallStrategy methods protected.
Motivation:

This lets me subclass `ResponseCallStrategy` and modify e.g. `makeApiCall` to do extra work before/after the request has been performed. Examples for "preflight" work would be creating a temporary user for the API call, preparing "fixtures" that the API call can return, etc.. "Post-flight" work could be sanitizing the output for inclusion in the API docs, e.g. if I want my response to a "POST" call to always have the same ID for the new object.
2019-07-15 12:44:46 +02:00
Shalvah
d07f68a981 Merge pull request #524 from IcaroJerry/master
Include Python as example language
2019-07-12 09:44:23 +01:00
Icaro Jerry
6f28592e38 Fix attribute name 2019-07-11 20:39:17 -03:00
Ícaro Jerry
47ca28302f Merge pull request #1 from mpociot/master
update fork
2019-07-11 20:26:06 -03:00
shalvah
2f3a2144e1 Fix build - remove collision package by default 2019-07-11 20:57:42 +01:00
shalvah
0c1c8d77a9 Fix tests 2019-07-11 20:46:36 +01:00