package api

func init() {
	Swagger.Add("telemetry_telemetry", `{
  "swagger": "2.0",
  "info": {
    "title": "automate-gateway/api/telemetry/telemetry.proto",
    "version": "version not set"
  },
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/api/v0/telemetry/config": {
      "get": {
        "operationId": "Telemetry_GetTelemetryConfiguration",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/chef.automate.api.telemetry.TelemetryResponse"
            }
          },
          "default": {
            "description": "An unexpected error response.",
            "schema": {
              "$ref": "#/definitions/grpc.gateway.runtime.Error"
            }
          }
        },
        "tags": [
          "Telemetry"
        ]
      }
    }
  },
  "definitions": {
    "chef.automate.api.telemetry.TelemetryResponse": {
      "type": "object",
      "properties": {
        "license_id": {
          "type": "string"
        },
        "customer_name": {
          "type": "string"
        },
        "customer_id": {
          "type": "string"
        },
        "license_type": {
          "type": "string"
        },
        "telemetry_enabled": {
          "type": "boolean"
        },
        "telemetry_url": {
          "type": "string"
        },
        "max_nodes": {
          "type": "string",
          "format": "int64"
        },
        "deployment_id": {
          "type": "string"
        },
        "deployment_type": {
          "type": "string"
        }
      }
    },
    "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"
          }
        }
      }
    }
  }
}
`)
}
