Skip to content

Generated Docs don't support list #347

Description

@seoushi

I've noticed that if my input type has a list in it that the examples will not show up in the generated documentation. This is with Giraffe 6.2.0 and Fable.Remoting.Giraffe 5.14.0

Example Code

  type MyRequest =
  {
    ids : string list
  }

  type Api =
  {
    id : MyRequest -> Async<unit>
  }

   docBase.route <@ fun api -> api.id @> 
   |> docBase.alias "My func"
   |> docBase.description "Returns stuff"
   |> docBase.example <@ fun api -> api.id {ids = ["anId"] } @>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions