github.com/solo-io/cue@v0.4.7/encoding/openapi/testdata/nested.json (about)

     1  {
     2     "openapi": "3.0.0",
     3     "info": {
     4        "title": "File comment.",
     5        "version": "no version"
     6     },
     7     "paths": {},
     8     "components": {
     9        "schemas": {
    10           "Struct": {
    11              "type": "object",
    12              "properties": {
    13                 "b": {
    14                    "$ref": "#/components/schemas/Struct.T"
    15                 },
    16                 "a": {
    17                    "$ref": "#/components/schemas/Struct.T"
    18                 },
    19                 "c": {
    20                    "type": "array",
    21                    "items": {
    22                       "$ref": "#/components/schemas/Struct.T"
    23                    }
    24                 }
    25              }
    26           },
    27           "Struct.T": {
    28              "type": "integer"
    29           }
    30        }
    31     }
    32  }