Repository navigation
libopenapi v0.44.0 expands OpenAPI 3.2 multipart support and improves how what-changed classifies schema changes. Concurrent calls to BuildV2Model or BuildV3Model on the same document now share one model. Errors for unresolved external $refs include the document location and the underlying cause.
- Breaking Go API change.
MediaType.ItemEncodingchanged from a map to a single*Encodingin the high-level model. UsePrefixEncodingfor ordered multipart parts. Nested encodings are also supported. [Migration guide](https://github.com/pb33f/libopenapi/blob/v0.44.0/MIGRATING.md) - Fewer false breaking changes. Making an existing response-only field required or a request-only field optional is now compatible. Shared schemas and closed responses that reject a new field still receive a breaking classification. [PR #725](#725)