Closed TylorS closed 3 months ago
Hey, thank you. Indeed, it was a problem with a transformation which was not considered for components. I didn't check the impl in effect/schema but evidently, in the non working optional cases you provided the whole struct
is converted onto a transformation AST node. I have a schema-openapi fix here and I'll update it in here in a moment.
Please, try with the latest version.
@sukovanej The latest build has fixed this issue, thank you!
Hello again 👋
I think I've encountered a small bug somewhere within the OpenAPI integration being unable to create "Components" with schemas containing identifiers when some of its property signatures are optional, but only a subset of them.
I think it has to do with the
optionalToRequired
transformation that takes place internally to Schema, but I'm not too positive after looking only a bit briefly.