pub fn render_field_table(schema: &Value) -> StringExpand description
Render the properties of an object schema as a markdown table.
The table has one row per field, and a field can be nested. The columns are Field, Type, Required, Default, and Description. Nested object properties recurse with a dotted path.
The argument is also the root schema that resolves $ref pointers. schemars
emits $ref into a top-level $defs or definitions table for nested
structs. Kube-generated CRD schemas are fully inlined and carry no refs, so
they render identically.