swagger-blocks icon indicating copy to clipboard operation
swagger-blocks copied to clipboard

additionalProperties not supported

Open jeffreytanz opened this issue 8 years ago • 1 comments

See http://swagger.io/specification/

swagger-blocks supports

  • items
  • allOf
  • properties

Swagger-blocks does not support

  • additionalProperties

jeffreytanz avatar Oct 28 '16 16:10 jeffreytanz

Yup that looks right, we need to add that. If you need a workaround right now you can specify arbitrary properties with key, like:

key :additionalProperties, {
  '$ref' => '#/definitions/ComplexModel',
}

fotinakis avatar Oct 28 '16 16:10 fotinakis