Releases: zircote/swagger-php
Releases · zircote/swagger-php
4.2.9
What's Changed
- Express nullable in 3.1.0 by @DerManoMann in #1125
- Rely on existing class loaders when using reflection by @DerManoMann in #1126
- Allow multiple Server attributes by @DerManoMann in #1130
- Tweak properties doctype hint by @DerManoMann in #1131
- Allow pure MediaType list as content by @DerManoMann in #1132
Full Changelog: 4.2.8...4.2.9
4.2.8
What's Changed
- Add multi value query parameter recipe by @DerManoMann in #1115
- Allow Tag and SecuritScheme to be repeatable by @DerManoMann in #1116
- Fix example YAML validation warnings by @DerManoMann in #1114
- Add script to aut-generate annotation/attribute reference docs by @DerManoMann in #1117
- Fix annotations/attributes links by @DerManoMann in #1118
- Fix typos in guide/cookbook.md by @mass6 in #1119
- Add example of how to use custom response classes by @DerManoMann in #1121
New Contributors
Full Changelog: 4.2.7...4.2.8
4.2.7
What's Changed
- Enables more attribute targets for OpenApi\Attributes\Examples. by @abbluiz-userh in #1110
- Add
@DoctrineAnnotation
rule and apply toExamples
by @DerManoMann in #1111 - Promoted property attribute type override by @DerManoMann in #1112
- fix(Attributes): type RequestBody content by @caugner in #1098
New Contributors
Full Changelog: 4.2.6...4.2.7
4.2.6
What's Changed
- Fix Discriminator Attribute mapping property type hint by @b-vadym in #1089
- Fix typehints for additionalProperties by @DerManoMann in #1095
- Add Style and Explode to Parameter attribute constuctor by @b-vadym in #1090
- Handle unknown attributes by @DerManoMann in #1100
- Documentation refactor by @DerManoMann in #1084
- Enable gh-pages workflow by @DerManoMann in #1101
- Includes 'example' argument in Examples attribute constructor (PHP 8.1) by @abbluiz-userh in #1104
- Debug log invalid attribute by @DerManoMann in #1106
- Support array in Examples value (PHP 8.1) by @abbluiz-userh in #1105
New Contributors
- @b-vadym made their first contribution in #1089
- @abbluiz-userh made their first contribution in #1104
Full Changelog: 4.2.5...4.2.6
4.2.5
What's Changed
- fix: remove ` by @Gemorroj in #1081
- Update type-hinting on security property for operations. by @SlvrEagle23 in #1086
- Skip constructor properties only for attributes by @DerManoMann in #1087
Full Changelog: 4.2.4...4.2.5
4.2.4
What's Changed
- Update docblock by @DerManoMann in #1075
- Change typehint of Operation tags to string by @stefanbraspenning in #1076
- Add missing attribute Schema properties by @DerManoMann in #1080
New Contributors
- @stefanbraspenning made their first contribution in #1076
Full Changelog: 4.2.3...4.2.4
4.2.3
What's Changed
- Improve attribute type system by @DerManoMann in #1065
- Refactor ref rewriting by @DerManoMann in #1067
- Refactor default value checks and improve type hints by @DerManoMann in #1066
- Resolve complex types for docblock properties by @DerManoMann in #1073
- Map property type for promoted properties by @DerManoMann in #1074
Full Changelog: 4.2.2...4.2.3
4.2.2
4.2.1
What's Changed
Response
: Pass ref to parent constructor. by @SlvrEagle23 in #1057
New Contributors
- @SlvrEagle23 made their first contribution in #1057
Full Changelog: 4.2.0...4.2.1
4.2.0
Main change is reverting back to 3.0.0 as default OpenAPI version. 3.1.0 can specs can be generated using a new CLI option or
programmatically on the Generator
using setVersion()
.
What's Changed
- Fixed RequestBody docs by @pavel-vasiluk in #1055
- Add enum support by @DerManoMann in #1050
- Allow to set the OpenAPI version by @DerManoMann in #1053
- Make Response::description optional when $ref is set by @DerManoMann in #1054
New Contributors
- @pavel-vasiluk made their first contribution in #1055
Full Changelog: 4.1.1...4.2.0