basePath: /api/v1 definitions: models.Alignment: properties: horizontal: type: string shrink_to_fit: type: boolean vertical: type: string wrap_text: type: boolean type: object models.Border: properties: color: type: string style: type: integer type: type: string type: object models.Cell: properties: is_formula: type: boolean style: $ref: '#/definitions/models.Style' type: object value: type: object type: object models.Chart: properties: dimension: $ref: '#/definitions/models.Dimension' type: object format: $ref: '#/definitions/models.Format' type: object legend: $ref: '#/definitions/models.Legend' type: object plot_area: $ref: '#/definitions/models.PlotArea' type: object series: items: $ref: '#/definitions/models.Series' type: array title: $ref: '#/definitions/models.Title' type: object type: type: string type: object models.ColOrRowValues: properties: cells: items: $ref: '#/definitions/models.Cell' type: array orientation: type: string type: object models.Dimension: properties: height: type: integer width: type: integer type: object models.File: properties: sheets: items: $ref: '#/definitions/models.Sheet' type: array type: object models.Fill: properties: color: items: type: string type: array pattern: type: integer shading: type: integer type: type: string type: object models.Font: properties: bold: type: boolean color: type: string family: type: string italic: type: boolean size: type: number strike: type: boolean underline: type: string type: object models.Format: properties: lock_aspect_ratio: type: boolean locked: type: boolean print_obj: type: boolean x_offset: type: number x_scale: type: number y_offset: type: number y_scale: type: number type: object models.Item: properties: chart: $ref: '#/definitions/models.Chart' type: object starting_cell_coordinates: type: string table: items: $ref: '#/definitions/models.ColOrRowValues' type: array type: object models.Legend: properties: position: type: string show_legend_key: type: boolean type: object models.Option: properties: coordinates: type: string sheetname: type: string type: object models.PlotArea: properties: show_bubble_size: type: boolean show_cat_name: type: boolean show_leader_lines: type: boolean show_percent: type: boolean show_series_name: type: boolean show_val: type: boolean type: object models.Protection: properties: hidden: type: boolean locked: type: boolean type: object models.ReaderOption: properties: options: items: $ref: '#/definitions/models.Option' type: array type: object models.Series: properties: categories: type: string name: type: string values: type: string type: object models.Sheet: properties: items: items: $ref: '#/definitions/models.Item' type: array name: type: string orientation: description: 'Default : landscape' type: string type: object models.Style: properties: alignment: $ref: '#/definitions/models.Alignment' type: object border: items: $ref: '#/definitions/models.Border' type: array fill: $ref: '#/definitions/models.Fill' type: object font: $ref: '#/definitions/models.Font' type: object protection: $ref: '#/definitions/models.Protection' type: object type: object models.Title: properties: name: type: string type: object services.Output: additionalProperties: additionalProperties: true type: object type: object info: contact: {} license: name: MIT url: https://opensource.org/licenses/MIT title: Excelante API version: 0.1.0 paths: /read/columns: post: consumes: - multipart/form-data description: transform given Excel file to JSON parameters: - description: The Excel file to convert in: body name: file required: true schema: type: string - description: Reader optional options in: body name: options schema: $ref: '#/definitions/models.ReaderOption' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/services.Output' "400": description: Bad Request schema: type: string summary: Read Excel file column by column tags: - Readers /read/lines: post: consumes: - multipart/form-data description: transform given Excel file to JSON parameters: - description: The Excel file to convert in: body name: file required: true schema: type: string - description: Reader optional options in: body name: options schema: $ref: '#/definitions/models.ReaderOption' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/services.Output' "400": description: Bad Request schema: type: string summary: Read Excel file line by line tags: - Readers /write: post: consumes: - application/json description: transform JSON to Excel file parameters: - description: Items you want to convert into an Excel file in: body name: file required: true schema: $ref: '#/definitions/models.File' produces: - application/octet-stream responses: "201": description: Created schema: type: string "422": description: Unprocessable Entity schema: type: string summary: Write Excel file tags: - Writers swagger: "2.0"