Refract Message Body Generator
Generates message bodies from JSON Schema found within Refract API Description.
For example, it takes a message body schema asset and generates a message body asset.
It takes a Refract element such as the following:
and it will place the following message body asset as a sibling of the that element
Usage
import generateMessageBodies from 'refract-message-body-generator';generateMessageBodies([Refract Element]);
Installation
$ npm install refract-message-body-generator