FSharp.Data.JsonSchema
FSharp.Data.JsonSchema copied to clipboard
Question: How to add schema generator for recursive type?
Hello,
I have a recursive DU as part of my model:
type Node =
| Leaf of int
| Node of Node * Node
Currently the Schema Generator gets caught in an endless loop when asked to generate a Json Schema.
I would offer a PR however I'm not sure how to add this feature.
Thanks