JsonSchema.fromZSchema
includes refs when refType = SchemaStyle.Inline
#3168
Labels
bug
Something isn't working
Describe the bug
JsonSchema.fromZSchema
includes refs whenrefType = SchemaStyle.Inline
.To Reproduce
Steps to reproduce the behaviour:
JsonSchema.fromZSchema
withrefType = SchemaStyle.Inline
scastie
Expected behaviour
All properties are inlined i.e. there are no
$ref
Actual behavior
Nested object is still referenced by name
Additional context
It's needed for structured output when using OpenAI.
The text was updated successfully, but these errors were encountered: