github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/248/swagger.json (about)

     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  }