...

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

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

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

View as plain text