https://kotlinlang.org logo
#http4k
Title
# http4k
d

dave

11/29/2018, 3:38 PM
you'd end up with
Copy code
{
  "in": "body",
  "name": "body",
  "required": true,
  "schema": {
    "$ref": "#/definitions/someOtherDefinitionId"
  },
  "description": "the body of the message"
}
r

reik.schatz

12/03/2018, 3:28 PM
@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