@comet-cli/decorator-json-schemas
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.2 • Public • Published

    @comet-cli/decorator-json-schemas

    This package contains the implementation of a JSON Schema decorator. It will transform OpenAPI schema definitions to valid JSON schemas.

    Usage

    import JsonSchemaDecorator from '@comet-cli/decorator-json-schemas';
    
    async function main() {
      const model = {} // Your API specification meta-model
      const decorator = new JsonSchemaDecorator();
      const schema = decorator.execute(model);
    }

    Install

    npm i @comet-cli/decorator-json-schemas

    DownloadsWeekly Downloads

    1

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    11.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • chiiya