openapi-utils-schema-from-api
Extract schema from openapi definition.
Installation
npm install --save openapi-utils-schema-from-api
Usage
var openApiUtils = var api = "definitions": "Cat": "type": "object" "properties": "id": "type": "string" var schema = openApiUtilsconsole/* { type: 'object', properties: { id: { type: 'string' } } }*/