...

Text file src/cuelang.org/go/encoding/openapi/testdata/nums-v3.1.0.json

Documentation: cuelang.org/go/encoding/openapi/testdata

     1{
     2   "openapi": "3.1.0",
     3   "info": {
     4      "title": "test",
     5      "version": "v1"
     6   },
     7   "paths": {},
     8   "components": {
     9      "schemas": {
    10         "exMax": {
    11            "type": "number",
    12            "exclusiveMaximum": 6
    13         },
    14         "exMin": {
    15            "type": "number",
    16            "exclusiveMinimum": 5
    17         },
    18         "int": {
    19            "type": "integer",
    20            "format": "int64"
    21         },
    22         "intNull": {
    23            "type": "integer",
    24            "minimum": -9223372036854775808,
    25            "maximum": 9223372036854775807,
    26            "nullable": true
    27         },
    28         "mul": {
    29            "type": "number",
    30            "multipleOf": 5
    31         },
    32         "neq": {
    33            "type": "number",
    34            "not": {
    35               "allOff": [
    36                  {
    37                     "minimum": 4
    38                  },
    39                  {
    40                     "maximum": 4
    41                  }
    42               ]
    43            }
    44         }
    45      }
    46   }
    47}

View as plain text