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

     1  {
     2    "swagger": "2.0",
     3    "info": {
     4      "version": "v1",
     5      "contact": {
     6        "email": "support@example.io"
     7      },
     8      "description": "This API allows you to perform ...",
     9      "title": "Frontend"
    10    },
    11    "schemes": [ "http" ],
    12    "paths": {
    13      "/file": {
    14        "post": {
    15          "summary": "Deposit New File (binary).",
    16          "description": "Deposits a new File (binary) into SDR. Will return the SDR identifier for the File resource (aka the metadata object generated and persisted for management of the provided binary).",
    17          "operationId": "depositNewFile",
    18          "consumes": ["multipart/form-data"],
    19          "produces": ["application/json"],
    20          "parameters": [{
    21            "in": "formData",
    22            "name": "upFile",
    23            "type": "file",
    24            "description": "Binary to be added to an Object in TACO.",
    25            "required": true
    26            }
    27          ],
    28          "responses": {
    29            "200": {
    30              "description": "Successful invocation"
    31            }
    32          }
    33        }
    34      }
    35    }
    36  }