@comet-cli/plugin-json-schemas

Plugin for exporting valid JSON Schemas from comet

Usage no npm install needed!

<script type="module">
  import cometCliPluginJsonSchemas from 'https://cdn.skypack.dev/@comet-cli/plugin-json-schemas';
</script>

README

@comet-cli/plugin-json-schemas

This package contains the implementation of a JSON Schema plugin. It can generate JSON Schemas based on a comet API meta-model.

Usage

import JsonSchemaPlugin from '@comet-cli/plugin-json-schemas';

(async () => {
  const plugin = new JsonSchemaPlugin();
  await plugin.execute(model, config, logger);
})();