cadl

A package with utilities to manage and process CADL files.

Usage no npm install needed!

<script type="module">
  import cadl from 'https://cdn.skypack.dev/cadl';
</script>

README

CADL class and utilities

This package contains the CADL class used to process CADL objects in addition to utility functions used to validate the CADL YAML files.

To build the validation UI run the following:

//to install the dependencies
    npm i

//to build the bundle.js in the public directory
    npm run build

To run the CADL validation UI locally run the following command

Expect the following errors if a CADL Object is invalid

-InvalidDestination -when page jump destination is not a valid page -UnableToRetrieveYAML -when something goes wrong in retrieving the yaml file form S3 -UnableToParseYAML -if there is a parsing error

    npm run dev

then navigate to http://localhost:5000/