cuelang.org/go@v0.13.0/encoding/jsonschema/testdata/txtar/openapi_vs_crd.txtar (about)

     1  Make sure that OpenAPI still works when there are unimplemented
     2  CRD keywords present.
     3  
     4  #version: openapi
     5  
     6  -- schema.yaml --
     7  components:
     8    schemas:
     9      User:
    10        description: "A User uses something."
    11        type: array
    12        items:
    13          type: string
    14        x-kubernetes-list-type: set
    15  
    16  -- out/decode/extract --
    17  // A User uses something.
    18  #User: [...string]