@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);
}