1.0.5 • Published 4 years ago

@devtin/schema-validator-doc v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Installation

$ npm i @devtin/schema-validator-doc --save
# or
$ yarn add @devtin/schema-validator-doc

schemaValidatorToJSON(schema, options) ⇒ JSONSchema

ParamTypeDescription
schemaSchema
optionsObject
options.$nameStringName of the schema

Returns: JSONSchema - JSON representation of given schema
Description:

Converts given schema in JSON format

schemaValidatorToMarkdown(jsonSchema) ⇒ String

ParamType
jsonSchemaArray.<JSONSchema>, JSONSchema

Returns: String - Markdown representation


License

MIT

© 2020-present Martin Rafael Gonzalez tin@devtin.io