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: Import existing OpenAPI 3.0.0 Schema #10

Open simonireilly opened 2 years ago

simonireilly commented 2 years ago

We should be able to import a schema, simply by splitting out all its existing JSON into separate schemas.

This means we can onboard users quickly.

Ideally, this would tie into a CLI, and support a local .json file or a remote .json URL.

API

npx compeller new --openapi-file ./specification.json