1134 Commits

Author SHA1 Message Date
Luke Kuzmish
889635aee5 employ ReflectionAttribute::IS_INSTANCEOF to also retrieve children of Header 2023-06-06 15:11:42 -04:00
shalvah
b4b190cd1f 4.21.2 2023-06-05 19:37:20 +02:00
Oliver Kaufmann
5e23e90d86 use Loader contact to prevent conflict with other loaders 2023-06-05 16:35:04 +02:00
shalvah
d53776bee2 Correctly set pagination data on collections with #[ResponseFromApiResource] (closes #678) 2023-06-03 19:46:44 +02:00
shalvah
41b62a9d1d 4.21.1 2023-06-03 19:34:13 +02:00
shalvah
39f57d875b Fix lint 2023-05-31 19:57:43 +02:00
shalvah
963340f2be Only load custom translation layer on demand 2023-05-31 19:44:42 +02:00
shalvah
ce98875b94 Raise error if translation not found 2023-05-29 17:41:39 +02:00
shalvah
b25a089db9 Merge remote-tracking branch 'origin/master' 2023-05-29 17:38:22 +02:00
Shalvah
81614bdc4f Merge pull request #673 from knuckleswtf/localization
Implement custom translation layer
2023-05-29 17:37:51 +02:00
shalvah
dbcf91ee29 Changelog 2023-05-28 15:36:45 +02:00
shalvah
f0ed95653b API resources: Infer model name from @mixin 2023-05-28 15:32:31 +02:00
shalvah
0fe280ed8f 4.20.0 2023-05-28 13:59:34 +02:00
Shalvah
33b9f4e844 Merge pull request #662 from ccec1t91077/ccec1t91077/feature/allow-generate-with-empty-resource
Allow generate document without @apiResourceModel
2023-05-28 13:52:20 +02:00
Shalvah
d2433334ec Clean up 2023-05-28 13:51:04 +02:00
shalvah
bfb795daa7 Clean up 2023-05-27 23:09:59 +02:00
shalvah
392b1094d7 Implement custom translation layer 2023-05-27 22:59:39 +02:00
Rasmus Bertell
85813bf651 fix: enum rule no longer overrides description 2023-05-12 12:46:47 +03:00
Luke Kuzmish
3f7a6027f0 laravel 10.9 made rules() optional for a base request 2023-05-10 10:32:31 -04:00
ccec1t91077
d28bff50d7 Fix null resource error on @apiResourceCollection 2023-05-09 12:26:45 +08:00
ccec1t91077
c8584096c0 Allow use @apiResource without @apiResourceModel 2023-05-09 12:26:01 +08:00
Shalvah
e69ceafb7a Named arg 2023-05-07 16:43:40 +02:00
Shalvah
e68b5b2bd9 Use named argument 2023-05-07 16:43:14 +02:00
Philip Manavopoulos
00a566ce10 Don't autoload with class_exists 2023-05-07 15:18:37 +01:00
shalvah
f8c413cfd8 4.19.1 2023-05-05 21:52:38 +02:00
shalvah
8d2be2c681 Fix translations when locale is not EN and no strings are defined 2023-05-05 21:50:53 +02:00
shalvah
4fd2a2645a Internationalization: Extract strings 2023-04-21 14:59:44 +02:00
shalvah
53faab8433 4.18.0 2023-04-08 15:04:47 +02:00
shalvah
112bba0ec8 FormRequest: Don't emit warning message if subfields are present in extra data 2023-04-08 15:01:58 +02:00
shalvah
5fbe5fcab0 Support No-example in inline validators 2023-04-08 14:46:56 +02:00
shalvah
56d589a484 OAS: Don't include forbidden headers (fixes #625) 2023-04-08 14:16:04 +02:00
Bram
0424e8c0fb Remove unnecessary randomisation from auth description 2023-03-27 21:07:11 +01:00
Morten Scheel
a19dbd0a28 Add missing dontTouch to scribe:generate 2023-03-22 13:09:01 +01:00
shalvah
edc14a9800 4.17.0 2023-03-19 15:53:52 +01:00
shalvah
df4d86fa1d Experimental: don't URL-encode Postman query parameters (closes #442) 2023-03-19 15:53:01 +01:00
shalvah
ea341869b4 Support invokable rules correctly (closes #629), support Laravel 10 ValidationRule 2023-03-19 15:41:03 +01:00
shalvah
08897fcb58 4.16.1 2023-03-19 14:41:24 +01:00
shalvah
ea122486da More robust replacement of :attribute in validation rule descriptions (closes 633) 2023-03-19 14:25:43 +01:00
Morten Scheel
617e110f68 Ignore examples.models_source
Fixes #630
2023-03-13 14:39:47 +01:00
Sang Nguyen
05b192c5a2 Fix tests 2023-03-11 13:33:52 +07:00
Sang Nguyen
8319822f2c Ignore upgrade check if user haven't published config yet 2023-03-07 15:41:57 +07:00
Bram Ceulemans
d1a7486d0d Fix PHPStan lint 2023-02-21 22:54:56 +00:00
Bram Ceulemans
968cedb0ff Add unit test for sorting 2023-02-21 21:59:42 +00:00
Bram
7ca899ea2c Fix sorting of multiple responses by status code 2023-02-21 17:07:19 +00:00
shalvah
1df972a3f7 4.16.0 2023-02-16 19:51:12 +01:00
shalvah
fa49f53670 Improve error handling for cached routes 2023-02-16 19:49:53 +01:00
Missael H. Anda
e22833fc1a added support for Rule::enum 2023-02-16 11:14:38 -06:00
Missael H. Anda
af86adb9b4 Parses inline enum rules 2023-02-15 14:37:27 -06:00
shalvah
6799496e3f 4.15.0 2023-02-14 21:18:36 +01:00
shalvah
6fba3a61b7 Handle cached closure routes more gracefully 2023-02-14 21:17:22 +01:00