On this page
Cue
Cue API reference.
Proto: cue.proto
Package: solo.io.cue
Types:
FieldOptions
Field | Description |
---|---|
required | (bool ) |
disableOpenapiValidation | (bool )Enable this option to treat this field as an unstructured object in the OpenAPI schema. This is currently required to disable infinite recursion when expanding references with CUE on recursive types. |
jsonFieldNameOverride | (string )pass field name strait through as-is as an override and do not run toLowerCamel on it. Useful for field names with a number in them like “k8s” |
disableOpenapiTypeValidation | (bool )Enable this option to treat this field as any value in the OpenAPI schema. This can be set to disable infinite recursion when expanding references with CUE on recursive types. In addition, should be set when using google.protobuf.Value , which can accept any JSON value type: object, array, string, number, boolean, or null. |
File-level Extensions
Extension | Type | Base | Number | Description |
---|---|---|---|---|
opt | FieldOptions | .google.protobuf.FieldOptions | 1069 | |
val | string | .google.protobuf.FieldOptions | 123456 |