schemars icon indicating copy to clipboard operation
schemars copied to clipboard

Add setting to enable strict inlining.

Open Gottox opened this issue 3 years ago • 1 comments

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.

Gottox avatar Nov 17 '22 17:11 Gottox

Also I accidentally let rustfmt run over all the files. I leave it in for now. ^^

Gottox avatar Nov 17 '22 17:11 Gottox