Slack communityBook a demo
HomeAPI DefinitionSDKsDocsCLI & API Reference
HomeAPI DefinitionSDKsDocsCLI & API Reference
  • CLI Reference
    • Get Started with Fern CLI
    • Global Options
    • Commands
    • Changelog
  • API Reference
    • Overview
CLI Reference

Changelog

February 5, 2025
February 5, 2025

0.51.26

(fix): The OpenAPI parser now correctly generates examples for discriminated unions where a variant may itself be a union. Previously, if a discriminated union variant was itself a union (e.g. { type: "foo", value: { type: "bar" } }), the example generation would skip. Now it recursively handles nested unions to generate valid examples.

Was this page helpful?
Edit this page
Previous

February 4, 2025

Next
Built with
LogoLogo
Slack communityBook a demo