schemars
schemars copied to clipboard
Add setting to enable strict inlining.
When strict_inline_subschemas is true, instead of referencing the schema, the type information are not applied instead.
This is useful for kubernetes, where the applying schemas with $ref is not supported at all.
The issue comes up when a crd contains a data type that was not designed for k8s like I'm currently having with the keycloak admin API.
Also I accidentally let rustfmt run over all the files. I leave it in for now. ^^