--- source: crates/schematic/tests/generator_test.rs expression: "fs::read_to_string(file).unwrap()" --- { // This is a boolean with a medium length description. // @envvar TEMPLATE_BOOLEAN "boolean": false, // This is an enum with a medium length description and deprecated. // @deprecated Dont use enums! "enums": "foo", // This field is testing array expansion. "expandArray": [ { // An optional enum. "enums": "foo", // An optional string. "opt": "" } ], "expandArrayPrimitive": [ 0 ], // This field is testing object expansion. "expandObject": { "example": { // An optional enum. "enums": "foo", // An optional string. "opt": "" } }, "expandObjectPrimitive": { "example": 0 }, "fallbackEnum": "foo", // This is a float thats deprecated. // @deprecated // "float32": 0.0, // This is a float. "float64": 1.23, // This is a map of numbers. // "map": {}, // This is a nested struct with its own fields. "nested": { // An optional enum. "enums": "foo", // An optional string. "opt": "" }, // This is a number with a long description. // This is a number with a long description. "number": 0, // This is a nested struct with its own fields. "one": { // This is another nested field. "two": { // An optional string. // @envvar ENV_PREFIX_OPT "opt": "", } }, // This is a string. "string": "abc", // This is a list of strings. "vector": [] }