Orizuru OpenAPI schema generator
Orizuru OpenAPI generator is a module that can generate an OpenAPI document from a map of service name to Avro schemas. Each schema represents an input event that is exposed as a POST path, within the OpenAPI definition.
Currently OpenAPI version 2.0 documents are generated.
$ npm install @financialforcedev/orizuru-openapi
constopenapiGenerator = generator;schemaMap ='question':;app;
The Orizuru project is aimed at asynchronous use cases, so the response schema is always a simple id string.
schema:type: 'object'required: 'id'properties:id:type: 'string'
Click to view JSDoc API documentation.