cuelang.org/go@v0.13.0/encoding/jsonschema/testdata/txtar/openapi_array-with-no-items.txtar (about)

     1  #version: openapi
     2  
     3  -- schema.yaml --
     4  components:
     5    schemas:
     6      BadArray:
     7        description: "A User uses something."
     8        type: array
     9  
    10  -- out/decode/extract --
    11  ERROR:
    12  "items" must be present when the "type" is "array" in OpenAPI 3.0:
    13      schema.yaml:3:5