OpenApiExample

{
  • "quantity": 1,
  • "shipDate": "2018-10-19T16:46:45Z",
  • "status": "placed",
  • "complete": false
}
Copy
Copied
<OpenApiExample definitionId="petstore" pointer="#/components/examples/Order" />

Props

NameTypeDefaultDescription
definitionId*stringDefinition ID as defined in siteConfig.yaml
pointer*stringJSON Pointer to the Response Object inside the definition
mimeTypestringapplication/jsonMime type