mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-24 02:20:51 +00:00
* [go-experimental] Add oneOf support * Fix docs for the oneOf models * isOneOfInterface => x-is-one-of-interface * Add proper warnings when inline models are used in oneOf choices * Add a convenience method to oneOf implementing structs to cast them as the oneOf interface * Update modules/openapi-generator/src/main/resources/go-experimental/model.mustache Co-Authored-By: Jiri Kuncar <jiri.kuncar@gmail.com> * Fix retrieving data from additionalDataMap * Add basic tests Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>