GREsau / schemars

Generate JSON Schema documents from Rust code
https://graham.cool/schemars/
MIT License
823 stars 228 forks source link

Fix multiple flatten with all_of #264

Closed rlebran closed 2 months ago

rlebran commented 9 months ago

Fix https://github.com/GREsau/schemars/issues/165.

Use all_of when flattening multiple subschemas.

There is still a limitation when flattening required enum. We lose the information that the field is required. This is not caused by this PR. This could be fix in another PR.

We use this fix in apistos.

heksesang commented 3 months ago

What is the hold up here? What is stopping this from being merged?

rlebran commented 2 months ago

Replaced it with #320