Releases: zircote/swagger-php
Releases · zircote/swagger-php
4.7.9
What's Changed
- Removed error catching on invalid attributes by @stollr in #1432
- Use Annotation property docblocks to document Attribute constructor parameters by @DerManoMann in #1439
- Add missing
description
property toPathItem
by @DerManoMann in #1438
New Contributors
Full Changelog: 4.7.8...4.7.9
4.7.8
4.7.4
What's Changed
- Fix
@var
docblock parsing by @DerManoMann in #1429 - Add missing fixture by @DerManoMann in #1430
- Refactor annotation root comparisons by @DerManoMann in #1431
Full Changelog: 4.7.3...4.7.4
4.7.3
What's Changed
- Improve api doc by @gnovaro in #1399
- Use
AbstractAnnotation::isRoot()
as strict check inAnalysis::getAnnotationsOfType()
by @DerManoMann in #1425 - Add scratch test using custom attributes by @DerManoMann in #1423
New Contributors
Full Changelog: 4.7.2...4.7.3
4.7.2
What's Changed
- Some minor refactoring by @DerManoMann in #1420
- Handle promoted property inline docblocks for attributes by @DerManoMann in #1422
Full Changelog: 4.7.1...4.7.2
4.7.1
4.7.0
What's Changed
- Refactor use of deprecated phpunit
assertObjectHasAttribute()
by @DerManoMann in #1414 - Make
isRoot()
call on annotation safe by @DerManoMann in #1417 - Allow a ref to be nullable by @momala454 in #1391
Full Changelog: 4.6.2...4.7.0
4.6.2
What's Changed
- Fix spelling of
oneOf
by @DerManoMann in #1404 - Add nullable ref scratch test by @DerManoMann in #1405
- Add section about BC issues with multiple consecutive docblocks by @DerManoMann in #1409
- Add Contributing.md by @DerManoMann in #1412
- Add debug logging of files being analysed by @DerManoMann in #1411
Full Changelog: 4.6.1...4.6.2
4.6.1
What's Changed
- Add (optional) ProcessorInterface and update method signatures by @DerManoMann in #1390
- More accurately guessing Openapi mistype line and position by @matiaspub in #1400
- Fix refs automatically set to nullable by @momala454 in #1397
- TokenScanner: fix handling of named arguments with reserved keywords by @Slamdunk in #1395
- Tweak php-cs-fixer config by @DerManoMann in #1402
- Make schema lookup work for custom schema implementations by @DerManoMann in #1403
New Contributors
- @momala454 made their first contribution in #1397
- @Slamdunk made their first contribution in #1395
Full Changelog: 4.6.0...4.6.1
4.6.0
What's Changed
- Enum cleanup by @DerManoMann in #1381
The enum cleanup simplifies the rules around backed enums and fixes some edge cases where the values did not match the set type (typically when using the backed values but using string
as type).
With this change backed enum schemas will always use the enum names, *unless the schema type is set and matches the backing type. This is even true for string
type backed enums.
Full Changelog: 4.5.6...4.6.0