Commit Graph

705 Commits

Author SHA1 Message Date
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
Martin Rademacher 2357fafbb0
Add validation rule that example/examples are mutually exclusive and add examples property to Schema (3.1.0 only) (#1561) 2024-03-23 19:35:46 +13:00
Martin Rademacher d3265da27c
CS: enable `no_superfluous_phpdoc_tags` rule and updated deprecated ones (#1558) 2024-03-15 15:35:23 +13:00
Martin Rademacher fe45a0e98a
Fix resolving general component refs (#1557) 2024-03-15 14:13:55 +13:00
bnowak 038da8ad21
integer ranges support (#1554) 2024-03-08 12:56:26 +13:00
dependabot[bot] 9f28de78a0
Bump ramsey/composer-install from 2 to 3 (#1551)
Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 2 to 3.
- [Release notes](https://github.com/ramsey/composer-install/releases)
- [Commits](https://github.com/ramsey/composer-install/compare/v2...v3)

---
updated-dependencies:
- dependency-name: ramsey/composer-install
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 17:41:38 +13:00
Dmytro Kulyk a6d8a93e5d
Add resolving references of components (#1544) 2024-02-19 11:00:16 +13:00
Martin Rademacher e1fb191ae0
Fix typehint to make `null` a valid enum value (#1548) 2024-02-09 16:18:49 +13:00
Martin Rademacher bdee7f5a92
Handle nullable string and add deprecated to docblock scratch (#1546) 2024-02-05 10:16:47 +13:00
Christian Daguerre ab7139207f
use @deprecated phpdoc to augment properties (#1543) 2024-02-05 09:53:38 +13:00
Martin Rademacher 10c8d45744
Add PHP 8.4 to build matrix (#1541) 2024-01-30 08:43:19 +13:00
Martin Rademacher e397ca8b63
Enforce strict nullable typehint (#1538) 2024-01-25 11:00:49 +13:00
Martin Rademacher 9443abfd55
Add scratch using parameter/response refs (#1537) 2024-01-25 10:41:01 +13:00
dependabot[bot] 56ad9c2a01
Bump actions/cache from 3 to 4 (#1534)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 08:58:34 +13:00
Martin Rademacher 423808fcf6
Docs codeblock (#1533) 2024-01-19 10:51:32 +13:00
Martin Rademacher f7faf2392e
Normalize some typehints (#1532) 2024-01-10 14:50:24 +13:00
Djordy Koert 598958d8a8
fix: undefined type property (#1529) 2024-01-08 11:33:09 +13:00
Martin Rademacher 2e03e6d5ff
Follow CS and phpstan changes (#1530) 2024-01-08 10:56:47 +13:00
dependabot[bot] a70a5dc5db
Bump crazy-max/ghaction-github-pages from 2 to 4 (#1521)
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2 to 4.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases)
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v2...v4)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 08:59:07 +13:00
dependabot[bot] 989b3b2e2f
Bump actions/cache from 2 to 3 (#1522)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 08:58:42 +13:00
dependabot[bot] b0069c59f8
Bump actions/checkout from 2 to 4 (#1523)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 08:58:16 +13:00
dependabot[bot] 263ff8cff0
Bump symfonycorp/security-checker-action from 3 to 5 (#1524)
Bumps [symfonycorp/security-checker-action](https://github.com/symfonycorp/security-checker-action) from 3 to 5.
- [Release notes](https://github.com/symfonycorp/security-checker-action/releases)
- [Commits](https://github.com/symfonycorp/security-checker-action/compare/v3...v5)

---
updated-dependencies:
- dependency-name: symfonycorp/security-checker-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 08:57:45 +13:00
Martin Rademacher 544b304134
Add dependabot config to check for github actions updates (#1520) 2023-12-20 08:36:29 +13:00
Matt Radford 182a24b19f
Add openapi-serialize project to related projects list (#1518) 2023-12-12 14:40:28 +13:00
Martin Rademacher 2a2ae43496
Add more notes about doctrine/annotations being optional as of version 4.8 (#1516) 2023-12-11 21:35:08 +13:00
Martin Rademacher 5087638d54
Add support for OpenApi 3.1.0 Webhooks (#1511) 2023-12-11 21:34:47 +13:00
Martin Rademacher 8ea52e3542
Add missing attribute PathItem constructor args (#1510) 2023-12-05 08:43:43 +13:00
Martin Rademacher 364fd85dee
Make doctrine/annotations optional (#1508) 2023-12-01 14:40:33 +13:00
Djordy Koert 21366a8c43
Feat: Change nullable & type for OpenApi v3.1.0 (#1502) 2023-12-01 10:47:39 +13:00
Djordy Koert 5d16fec538
feat: Convert exclusiveMinimum/Maximum for openapi 3.1 (#1503)
* Convert exclusiveMinimum/Maximum for openapi 3.1
* Add correct OpenApi 3.1 types for exclusiveMinimum/Maximum
* Add exclusiveMinMax test for openapi 3.1
* Add type validation support for union types
2023-12-01 10:44:40 +13:00
Martin Rademacher 892612901a
Fix RequestBody content type-hint (#1495) 2023-12-01 10:18:58 +13:00
宣言就是Siam b18683afdc
Fixed url error for openAPI. (#1506) 2023-12-01 10:16:49 +13:00
Martin Rademacher 3d5fa92ef7
Add more enum reflection type checks (#1507) 2023-12-01 10:15:21 +13:00
Martin Rademacher 595d8b63a5
Update phpstan baseline (#1500) 2023-11-14 12:46:19 +13:00
Martin Rademacher da8463f19a
Generate operationId for class endpoints (#1493) 2023-10-27 15:24:10 +13:00
Martin Rademacher 2cd2d91022
Add scratch test for multi path endpoints (#1492) 2023-10-27 09:09:15 +13:00
rien-vroom-cquential e67dfd938c
Allow recursive nesting of AdditionalProperties in Attributes (#1490) 2023-10-27 08:47:06 +13:00
Martin Rademacher bc6107ffab
Set `type: 'object'` when moving properties into `allOf` (#1489) 2023-10-18 10:21:06 +13:00
Martin Rademacher 551c62ad83
Preserve properties when `$ref` is nullable (#1487) 2023-10-18 09:51:31 +13:00
Martin Rademacher df8de8e484
Avoid unguarded use of `enum_exists` (#1486) 2023-10-13 09:26:34 +13:00
Martin Rademacher ab49d255d6
Girve `PathItem` the same attribute targets as operations (#1485) 2023-10-11 10:43:50 +13:00
Martin Rademacher 99b04b5cab
Remove duplicate `$ref` in `allOf` (#1481) 2023-10-03 12:49:51 +13:00
Martin Rademacher 430d4aa773
Add missing fixture (#1480) 2023-10-03 12:23:43 +13:00
momala454 e53c0c7a6e
Enum can have boolean values (#1467) 2023-09-12 12:18:13 +12:00
Martin Rademacher 61242377d6
Ignore unexpected properties (#1476) 2023-09-08 10:22:14 +12:00
Anton Samoylenko e1062da5b4
Fix token parser skip closing curly brace (#1468) 2023-08-31 11:32:39 +12:00