Mermade / widdershins

OpenAPI / Swagger, AsyncAPI & Semoasa definitions to (re)Slate compatible markdown

Home Page:https://mermade.github.io/reslate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maxDepth doent work properly on examples

spmsupun opened this issue · comments

When I run with max depth still some of the deep objects in examples come as '[objects]' instead of the actual object:

Ex:

{
  "passengers": {
    "adult": [
      {
        "lead": true,
        "pnr": "SJE34D",
        "class": "First",
        "details": {
          "name": "[Object]",
          "contacts": "[Object]",
          "date_of_birth": "1989-02-14",
          "passport_no": "N32343423",
          "comments": "First time traveller.",
          "signage": "John Doe"
        }
      }
    ]
  }
}

Reporduce:
widdershins --maxDepth=500 test.yaml output.html.md

actual yaml file: https://gist.github.com/spmsupun/86d0498bd378587aa03c693e418c1937