simonireilly / compeller

A strong typescript binding for your OpenAPI Schema that doesn't need generation and is not prescriptive in coding style
MIT License
22 stars 1 forks source link

feat: cli - export command to dump JSON/YAML representation of schema #38

Open simonireilly opened 2 years ago

simonireilly commented 2 years ago

Since we have a runtime write file, we need to improve that.

Ideally we would have a default export from the compeller file (do we want that, I hate default imports :shrug:

Well, we want to be able to run:

yarn compeller export [file-path]

This will export the API to a JSON object.