Kiina
7df10e8ec4
Fix readme links ( #1665 )
2024-10-16 08:20:02 +13:00
Martin Rademacher
f37bfd616e
Allow inserting pipes using a class name as matcher ( #1664 )
2024-10-11 20:44:30 +13:00
Martin Rademacher
3b6f3800f4
Allow nesting of Attachable
annotations ( #1663 )
2024-10-09 16:11:12 +13:00
Kiina
1d92485212
Update generator.md example code ( #1662 )
2024-10-08 10:52:42 +13:00
Martin Rademacher
589821f0f1
Fix handling of processor
option in Generator::scan()
( #1660 )
2024-10-02 14:43:50 +13:00
Martin Rademacher
7642943698
Add example of using -b
to basic CLI example ( #1659 )
2024-09-26 13:45:44 +12:00
Martin Rademacher
e10883c976
Reference openapi
CLI tools as ./vendor/bin/openapi
( #1658 )
2024-09-26 13:33:00 +12:00
Martin Rademacher
68a19b8b35
Reference openapi
CLI tools as ./vendor/bin/openapi
( #1656 )
2024-09-26 13:25:37 +12:00
William Entriken
ff78ab1794
Prefer attributes ( #1651 )
2024-09-25 16:23:51 +12:00
Martin Rademacher
874c9098fb
Fix processor option default ( #1653 )
2024-09-23 10:11:45 +12:00
Martin Rademacher
a6916d130b
Add required: yes/no to reference docs ( #1652 )
2024-09-23 09:26:27 +12:00
Paul Johnston
8e19141006
Allow unused tags to be kept ( #1647 )
2024-09-23 09:23:59 +12:00
Martin Rademacher
1da72fc859
Update CS / phpstan changes ( #1648 )
2024-08-28 12:45:34 +12:00
Martin Rademacher
7ae3dc50de
Add more variations to request body scratch ( #1640 )
2024-08-26 17:03:30 +12:00
Martin Rademacher
08b48bb74a
Add Context::getVersion()
as safe way to access the OpenApi version ( #1644 )
2024-08-16 13:09:50 +12:00
Martin Rademacher
5ba05b8eab
Fix yaml formatting ( #1641 )
2024-08-09 11:01:18 +12:00
Martin Rademacher
e462ff5269
Deduplicate declared tags ( #1634 )
2024-07-26 15:04:43 +12:00
Martin Rademacher
c469b10f57
Follow phpstan rule changes ( #1635 )
2024-07-26 15:02:29 +12:00
Martin Rademacher
69477c53f0
Use array_search strict comparison ( #1632 )
2024-07-22 12:41:26 +12:00
Martin Rademacher
0840dad40f
Move AugmentTags
after CleanUnusedComponents
( #1630 )
...
Order is import here as cleanup of tags can only happen after `CleanUnusedComponents` has run.
2024-07-16 15:13:27 +12:00
Martin Rademacher
2a6fa1dda2
Preserve docblocks for consecutive promoted properties ( #1627 )
2024-07-15 13:31:20 +12:00
Martin Rademacher
e28255e2b9
Remove annotation based schema-query-parameter
processor example in favour of the attribute version ( #1628 )
2024-07-15 13:23:43 +12:00
Martin Rademacher
88895afcfa
Remove unused tags ( #1625 )
2024-07-10 14:06:32 +12:00
Martin Rademacher
ad3f913d39
Strip duplicate tags in AugmentTags
( #1622 )
2024-07-04 19:53:11 +12:00
Rasmus Nielsen
4756339cbf
Fix promoted properties sharing context ( #1619 )
...
Co-authored-by: Rasmus Christoffer Nielsen <rniels@norlys.dk>
2024-07-04 08:49:02 +12:00
Martin Rademacher
7bd902909c
Add processor config section to reference ( #1618 )
2024-07-02 16:16:30 +12:00
Martin Rademacher
23822178b2
Improve processor reference ( #1617 )
2024-07-02 15:56:29 +12:00
Martin Rademacher
b308ec008d
Add PathFilter
processor to filter paths ( #1613 )
2024-07-02 15:04:12 +12:00
Martin Rademacher
5eb7a90321
Add AugmentTags
processor ( #1615 )
2024-07-02 14:40:43 +12:00
Martin Rademacher
ce3b9be639
Fix: Pass CLI config options into Generator
( #1612 )
...
Also adds syntax to congigure config array values
2024-06-30 16:39:32 +12:00
Martin Rademacher
009c74f1ef
Simplify the collector implementation ( #1611 )
2024-06-27 18:25:50 +12:00
Martin Rademacher
1c7330d3f3
Fix PHP 8.4 type error ( #1606 )
2024-06-14 10:30:52 +12:00
Bob van de Vijver
78b504d980
doctrine/annotations is not required if you have switched to attributes ( #1605 )
2024-06-14 10:26:30 +12:00
Max Stegmeyer
2d983ce67b
Fix nullable processor call ( #1604 )
2024-06-07 10:42:02 +12:00
Martin Rademacher
71a234d67c
Refactor exceptions to using OpenApiException
( #1602 )
2024-06-06 19:13:22 +12:00
Martin Rademacher
b1a792e59e
Collect unrelated annotations/attributes in Context::other
( #1601 )
2024-06-06 12:56:21 +12:00
Martin Rademacher
489305aac9
Replace current processor array with a pipeline class ( #1585 )
...
Deprecates all processor related methods on `Generator` and provides simpler, more powerful alternatives in the new `Pipeline` class that now internally wraps processors.
Also deprecates the unused `ProcessorInterface`.
2024-06-05 15:52:28 +12:00
Martin Rademacher
067c1d61eb
Revert "Re-implement TokenScanner
using nikic/php-parser ( #1597 )" ( #1599 )
...
This reverts commit ddab6a57d7
.
2024-06-04 17:24:03 +12:00
Martin Rademacher
ddab6a57d7
Re-implement TokenScanner
using nikic/php-parser ( #1597 )
2024-06-03 20:24:55 +12:00
Allan
15c5c6afa0
Document missing version option for Generator::scan() ( #1589 )
2024-05-04 08:41:36 +12:00
Allan
ab19c21a94
Mention doctrine annotations must be installed manually ( #1590 )
2024-05-04 08:40:15 +12:00
Martin Rademacher
256d42cb07
Ensure all annotations added to Analysis
have a root context ( #1586 )
2024-05-03 09:36:00 +12:00
Martin Rademacher
749542ef18
Allow custom preamble snippets for generated reference docs ( #1588 )
2024-05-02 16:57:19 +12:00
Martin Rademacher
d7a9c21878
Switch annotation/attribute tab order to make showing attributes the default ( #1587 )
2024-05-02 16:11:26 +12:00
Aurélien Pillevesse
520ffb7c4f
Update jsonSerialize
return ( #1575 )
2024-05-01 10:01:17 +12:00
Martin Rademacher
f84583fb11
Refresh docs ( #1574 )
2024-04-19 11:04:40 +12:00
Alexander Tebiev
1cdb866e71
Add example schema-query-parameter-attributes processor ( #1569 )
2024-04-19 11:00:03 +12:00
Martin Rademacher
b46a36d006
[4.9] Default openapi version in Context
to 3.0.0 ( #1563 )
2024-04-19 10:32:11 +12:00
Djordy Koert
7819531fdb
Update $_required typehint ( #1568 )
2024-04-07 08:09:03 +12:00
Martin Rademacher
a268913f2e
Change PHPUint dataProviders methods to be static ( #1564 )
2024-03-27 11:38:39 +13:00