basePath: /api definitions: model.File: properties: created_at: type: string id: type: integer name: type: string path: type: string size: type: integer type: type: string updated_at: type: string type: object host: localhost:8080 info: contact: {} description: FileCloud API documentation title: FileCloud API version: "1.0" paths: /api/files: get: description: Get a list of all files in the cloud storage produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/model.File' type: array summary: List all files tags: - files post: consumes: - multipart/form-data description: Upload a file to the cloud storage parameters: - description: File to upload in: formData name: file required: true type: file produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/model.File' summary: Upload a file tags: - files swagger: "2.0"