7.7 reports every property an OpenAPI version leaves out, where most were dropped without a word before, and writes the extensions on components and properties that were lost.
Both change the log or the generated document. Changed output in 7.7 has the details.
Changed output
- Spec and hybrid: 3.0 and 3.1 warn about the properties they leave out, such as a tag's
summary,parentandkind, and at 3.0 an infosummaryand eight 2020-12 schema keywords. Before, they were left out without a message. The licenseidentifierand media type component warnings now read like the others (#2396, #2404) - Spec and hybrid:
xon#[OA\Components]is written oncomponents, andxon a property on its schema. Before, both were left out without a warning (#2405)
Changed
- A compiler subclass lists what a version leaves out in
UNSUPPORTED_PROPERTIES, andfilter()drops it. The 3.0 compiler's owncompileInfo()andcompileLicense()and the 3.2 compiler's owncompileTag()are gone (#2403, docs) TypeResolverreads a member's types and maps them in two steps, so a subclass can change the types in between throughtoSchemaType()(#2398)
Deprecated
xonSecurity\Requirement, removed in 8.0. A Security Requirement Object cannot carry extensions, so it is left out with a warning (#2405)
What's Changed
- refactor(Type): split reading a member's types from mapping them by @DerManoMann in #2398
- feat(Compiler): warn about properties a version leaves out by @DerManoMann in #2396
- refactor(Compiler): leave out the listed properties in
filter()by @DerManoMann in #2403 - refactor(Compiler): leave out media type components through the lists by @DerManoMann in #2404
- fix(Compiler): write the extensions of components and properties by @DerManoMann in #2405
- test(Compiler): check that every property is written or reported by @DerManoMann in #2406
- docs(Guide): changed output in 7.7 by @DerManoMann in #2407
Full Changelog: 7.6.0...7.7.0