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

Enable unsafe keep a json specification when compeller is invoked #19

Closed simonireilly closed 2 years ago

simonireilly commented 2 years ago

closes: #15

This will ensure that when the compeller is invoked it will create a JSON specification file.

This could be a seriously dangerous side effect that would make testing an awful experience and honestly needs a better solution.

One thing could be to add a command to the CLI that can find the typescript file, but it would mean that we need to have a compeller.js configuration to point at the file location, and I think we have all got enough configuration files in our project.

Another option would be to somehow bind to the usage of compeller and find it with the CLI.

TODO