you'd end up with ``` { "in": "body",...
# http4k
d
you'd end up with
Copy code
{
  "in": "body",
  "name": "body",
  "required": true,
  "schema": {
    "$ref": "#/definitions/someOtherDefinitionId"
  },
  "description": "the body of the message"
}
r
@dave I got this working now
however there might be a small issue
type
should always be a child of
schema
currently if schema is
null
this code will render
type
like this
Copy code
{
  "in": "body",
  "name": "body",
  "required": true,
  "type": "object",
  "description": "Some JSON"
}
will add a ticket