Repository navigation
v0.43.0
libopenapi’s Go model generator can now preserve unknown discriminator variants. Enable WithUnknownDiscriminatorVariants(true) to keep the discriminator value and raw JSON when an API returns a variant your generated code hasn’t seen before. A single new variant can now round-trip without failing an entire response array. Strict decoding remains the default. (#715)
- Schema validation: OpenAPI 3.1 and 3.2 schemas that combine
$refwithunevaluatedPropertiesorunevaluatedItemsnow validate correctly after transformation. Relative references and anchors retain their original scope. (#709) - Change reports: Adding or removing
explode: falseon a parameter now appears in the diff. Changes to a schema’srequiredlist now point to the external file that defines it. (#704, #712) - Parsing: Skipping external reference resolution no longer panics on referenced map entries. Null operations such as
post: nullare now omitted from the operation list. (#707, #711) - Embedded schemas: Updated the OpenAPI 3.1 and 3.2 document validation schemas with upstream corrections for Link Objects and encoding. (#714)
@pcbeingused333 @swayam5342 @Tjmstudios