...

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

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

     1{
     2  "paths": {
     3    "/thing": {
     4      "post": {
     5        "summary": "SomePost",
     6        "description": "",
     7        "parameters": [{
     8          "name": "optional_query_enum",
     9          "enum": [
    10            "OPTIONAL_ONE",
    11            "OPTIONAL_TWO"
    12          ],
    13          "required": false,
    14          "type": "string",
    15          "in": "query"
    16        }],
    17        "operationId": "CreateThing"
    18      }
    19    }
    20  },
    21  "host": "connect.squareup.com",
    22  "schemes": ["https"],
    23  "produces": ["application/json"],
    24  "swagger": "2.0",
    25  "definitions": {},
    26  "consumes": ["application/json"],
    27  "info": {
    28    "title": "Test API",
    29    "version": "1.23"
    30  }
    31}

View as plain text