asyncapi-archived-repos / docgen

AsyncAPI documentation generator. DEPRECATED in favour of
https://github.com/asyncapi/generator
Apache License 2.0
21 stars 11 forks source link

Fix rendering of required fields #28

Closed fuzza closed 6 years ago

fuzza commented 6 years ago

Context

This PR fixes #27

Idea

Given rendering properties of SchemaObject When required array of SchemaObject contains property name Then pass boolean parameter to schema-prop template.

The same flow is applied for nested parameter objects in schema-prop template

Implementation