github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2342/fixture-2342.yaml (about)

     1  ---
     2  swagger: "2.0"
     3  info:
     4    title: "repro #2342"
     5    version: "0.0.1"
     6    description: "repro issue #2342"
     7    license:
     8      name: "Apache 2.0"
     9      url: "http://www.apache.org/licenses/LICENSE-2.0.html"
    10  paths:
    11    /getRecords:
    12      get:
    13        operationId: getRecords
    14        parameters:
    15          - name: "file"
    16            in: "formData"
    17            description: "file to upload"
    18            required: false
    19            type: "file"
    20            maxLength: 5242880 #5mb
    21        responses:
    22          200:
    23            description: "OK"