 
   Underlying HTTP connection
   """
-  @spec index(term, [any]) :: term
+  def swaggerdoc_index, do: %{
+    description: "Retrieve all Workflows",
+    response_schema: %{"title" => "Workflows", "type": "array", "items": %{"$ref": "#/definitions/OpenAperture.Manager.DB.Models.Workflow"}},
+    parameters: [%{
+      "name" => "lookback",
+      "in" => "query",
+      "description" => "The number of hours (back) to retrieve Workflows, defaults to 24",
+      "required" => false,
+      "type" => "integer"
+     },
+    %{
+      "name" => "deployment_repo",
+      "in" => "query",
+      "description" => "Only return Workflows that meet the lookback param as well as have the specified deployment repository",
+      "required" => false,
+      "type" => "string"
+     },
+    %{
+      "name" => "source_repo",
+      "in" => "query",
+      "description" => "Only return Workflows that meet the lookback param as well as have the specified source repository",
+      "required" => false,
+      "type" => "string"
+     }]
+  }    
+  @spec index(Plug.Conn.t, [any]) :: Plug.Conn.t
   def index(conn, params) do
     lookback = if params["lookback"] != nil do
       {int, _} = Integer.parse(params["lookback"])


  Underlying HTTP connection
  """
  @spec execute(term, [any]) :: term
  def execute(conn, %{"id" => id} = params) do
    raw_workflow_id = case Ecto.UUID.cast(id) do
      {:ok, id} -> id


  Underlying HTTP connection
  """
  def swaggerdoc_create, do: %{
    description: "Create a Workflow" ,
    parameters: [%{
      "name" => "type",
      "in" => "body",
      "description" => "The new Workflow",
      "required" => true,
      "schema": %{"$ref": "#/definitions/OpenAperture.Manager.DB.Models.Workflow"}
    }]
  }
  @spec create(Plug.Conn.t, [any]) :: Plug.Conn.t
  def create(conn, params) do
    id = Ecto.UUID.generate()

