Commit Graph

885 Commits

Author SHA1 Message Date
Shalvah
f7dd8d19b7 Update composer.json 2019-09-04 23:24:08 +01:00
Shalvah
188225aff9 Update CHANGELOG.md 2019-09-04 23:12:36 +01:00
Shalvah
e48162a1f4 Merge pull request #575 from ncatanchin/hotfix/543-force-https-when-baseurl-https-postman
Resolves #543 Force the HTTP scheme if baseUrl starts with https
2019-09-04 22:49:21 +01:00
Nicholas Catanchin
bca5c062d1 #543 Add exception for forceScheme to appease phpstan 2019-09-05 07:24:40 +10:00
Nicholas Catanchin
35a7ee8f6a #543 Add test for https url, fixture 2019-09-05 04:25:06 +10:00
Nicholas Catanchin
fa20e36111 Resolves #543 For the HTTP scheme if baseUrl starts with https 2019-09-05 03:49:47 +10:00
Shalvah
b81cd1c01b Update CHANGELOG.md 2019-09-04 16:27:39 +01:00
Shalvah
11d0ed756d Merge pull request #572 from sangnguyenplus/laravel-6-compatible
Add support Laravel 6.0 & remove deprecated functions
2019-09-04 16:19:33 +01:00
Shalvah
39187dbdee Revert Testbench upgrade - upgrade requires upgrading PHPUnit, which has breaking changes 2019-09-04 16:18:28 +01:00
Shalvah
7b1fca7d6f Update Testbench version 2019-09-04 16:10:46 +01:00
Sang Nguyen
cac35a884b Update composer.json 2019-09-04 20:44:43 +07:00
Sang Nguyen
ec1c4e90ac Fix Class 'Arr' not found 2019-09-04 15:48:25 +07: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
1a0bff3598 Merge pull request #569 from mpociot/analysis-Xa26Wo
Apply fixes from StyleCI
2019-09-02 22:56:22 +02: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
148dabf004 Merge pull request #568 from mpociot/analysis-8Keom9
Apply fixes from StyleCI
2019-09-02 18:20:39 +02: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
c0ecc1b7f7 Add base Strategy class 2019-09-02 01:02:14 +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
67c61fef8d First implementation of plugin architecture
- Split route processing into stages: metadata, bodyParameters, queryParameters, responses
- Provide tool to fetch route docblocks (with caching)
2019-09-01 23:40:28 +01:00
shalvah
b7bc937e2d Update changelog 2019-08-31 12:33:31 +01:00
shalvah
6079fd37da Update docs 2019-08-31 12:33:23 +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
e48003edf3 Update docblock on cleanParameters 2019-08-31 12:14:39 +01:00
Shalvah
dd840854b1 Update GeneratorTestCase.php 2019-08-31 12:13:39 +01:00
Shalvah
f2eb99d061 Update CHANGELOG.md 2019-08-31 11:51:50 +01:00
Marcel Pociot
666e3c829b Merge pull request #566 from mpociot/analysis-8QVbOg
Apply fixes from StyleCI
2019-08-31 12:43:32 +02: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
shalvah
fdc7a72531 Update PHPStan config 2019-08-29 08:32:57 +01:00
shalvah
3dc0c30b5d Tweak Travis config 2019-08-29 08:23:19 +01:00
shalvah
0c221d8b07 Tweak Travis config 2019-08-29 08:19:34 +01:00
shalvah
6951db5006 Tweak Travis config 2019-08-29 08:17:23 +01:00
shalvah
6cb39cb955 Tweak Travis config 2019-08-29 08:12:47 +01:00
shalvah
1f41af4aeb Tweak Travis config 2019-08-29 08:08:21 +01:00
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
Marnu Lombard
789d382d04 [bugfix] Only check for is_null() to filter out excluded values
- Using any other method is essentially a breaking change
2019-08-27 10:36:28 +02:00
Marnu Lombard
a8303a5500 [bugfix] Remove extra newline that makes the tests fail when comparing md to fixtures 2019-08-26 12:06:34 +02:00
Marnu Lombard
88652a3561 Add No-example to documentation 2019-08-26 11:43:54 +02:00
Marnu Lombard
634da1cc4e Style-ci fixes 2019-08-26 11:33:45 +02: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
3fb2220b3a Use only the cleaned...Parameters for examples
- The `...Parameters` contain all values
- The `No-example` values are excluded from `cleaned...Parameters`
2019-08-26 11:20:57 +02:00