...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/981/swagger.json

Documentation: github.com/go-openapi/validate/fixtures/go-swagger/bugs/981

     1{
     2  "swagger": "2.0",
     3  "paths": {},
     4  "definitions": {
     5    "User": {
     6      "description": "User - user model",
     7      "type": "object",
     8      "properties": {
     9        "first_name": {
    10          "type": "string",
    11          "x-go-name": "FirstName"
    12        },
    13        "id": {
    14          "type": "string",
    15          "x-go-name": "ID"
    16        },
    17        "last_name": {
    18          "type": "string",
    19          "x-go-name": "LastName"
    20        },
    21        "user_type": {
    22          "description": "User type",
    23          "type": "integer",
    24          "format": "int64",
    25          "maximum": 5,
    26          "minimum": 1,
    27          "x-go-name": "Type"
    28        }
    29      },
    30      "x-go-package": "github.com/go-swagger/go-swagger/fixtures/bugs/981"
    31    }
    32  }
    33}

View as plain text