OpenAPI allows you to define inlined schemas that do not have names.
Fern automatically generates names for all the inlined schemas. For example, in this example,
Fern would generate the name CastItem for the inlined array item schema.
If you want to override the generated name, you can use the extension x-fern-type-name.
This would replace CastItem with Person and the generated code would read more idiomatically: