orbitjs / orbit

Composable data framework for ambitious web applications.
https://orbitjs.com
MIT License
2.33k stars 134 forks source link

[Feature] Schema from OpenAPI #931

Open bradjones1 opened 2 years ago

bradjones1 commented 2 years ago

Follow-up from https://github.com/orbitjs/orbit/issues/706#issuecomment-694832608.

It would ease adoption of Orbit if we could support auto-generation of Orbit schema from common formats, e.g. OpenAPI.

I come from Drupal-land and there is OpenAPI support for json:api (and probably GraphQL?) already. Currently a helper module like https://github.com/bradjones1/orbit-schema-from-openapi is required to translate schemas from OpenAPI to Orbit's bespoke format.