package api

func init() {
	Swagger.Add("report_manager", `{
  "swagger": "2.0",
  "info": {
    "title": "external/report_manager/report_manager.proto",
    "version": "version not set"
  },
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/api/v0/reportmanager/requests": {
      "get": {
        "summary": "List Download Report Requests",
        "description": "Returns the details of the download report requests placed by the user.\n\nAuthorization Action:\n` + "`" + `` + "`" + `` + "`" + `\nreportmanager:requests:list\n` + "`" + `` + "`" + `` + "`" + `",
        "operationId": "ReportManagerService_ListDownloadReportRequests",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/chef.automate.api.report_manager.ListDownloadReportRequestsResponse"
            }
          },
          "default": {
            "description": "An unexpected error response.",
            "schema": {
              "$ref": "#/definitions/grpc.gateway.runtime.Error"
            }
          }
        },
        "tags": [
          "ReportManagerService"
        ]
      }
    }
  },
  "definitions": {
    "chef.automate.api.common.ExportData": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "format": "byte",
          "description": "Exported reports in JSON or CSV."
        }
      }
    },
    "chef.automate.api.report_manager.DownloadRequestResponse": {
      "type": "object",
      "properties": {
        "acknowledgement_id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "report_size": {
          "type": "string",
          "format": "int64"
        },
        "err_message": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "ended_at": {
          "type": "string",
          "format": "date-time"
        },
        "duration": {
          "type": "string"
        },
        "report_type": {
          "type": "string"
        }
      }
    },
    "chef.automate.api.report_manager.ListDownloadReportRequestsResponse": {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/chef.automate.api.report_manager.DownloadRequestResponse"
          }
        }
      }
    },
    "google.protobuf.Any": {
      "type": "object",
      "properties": {
        "type_url": {
          "type": "string"
        },
        "value": {
          "type": "string",
          "format": "byte"
        }
      }
    },
    "grpc.gateway.runtime.Error": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        },
        "code": {
          "type": "integer",
          "format": "int32"
        },
        "message": {
          "type": "string"
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/google.protobuf.Any"
          }
        }
      }
    },
    "grpc.gateway.runtime.StreamError": {
      "type": "object",
      "properties": {
        "grpc_code": {
          "type": "integer",
          "format": "int32"
        },
        "http_code": {
          "type": "integer",
          "format": "int32"
        },
        "message": {
          "type": "string"
        },
        "http_status": {
          "type": "string"
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/google.protobuf.Any"
          }
        }
      }
    }
  }
}
`)
}
