1.0.5 • Published 5 years ago
@devtin/schema-validator-doc v1.0.5
Installation
$ npm i @devtin/schema-validator-doc --save
# or
$ yarn add @devtin/schema-validator-docschemaValidatorToJSON(schema, options) ⇒ JSONSchema
| Param | Type | Description |
|---|---|---|
| schema | Schema | |
| options | Object | |
| options.$name | String | Name of the schema |
Returns: JSONSchema - JSON representation of given schema
Description:
Converts given schema in JSON format
schemaValidatorToMarkdown(jsonSchema) ⇒ String
| Param | Type |
|---|---|
| jsonSchema | Array.<JSONSchema>, JSONSchema |
Returns: String - Markdown representation
License
© 2020-present Martin Rafael Gonzalez tin@devtin.io