Adzz / data_schema

Declarative schemas for data transformations.
Apache License 2.0
86 stars 9 forks source link

Feature: Generate Schemas From OpenAPI Schema #6

Open Adzz opened 2 years ago

Adzz commented 2 years ago

https://spec.openapis.org/oas/v3.1.0#fixed-fields-11

I think we should be able to go some way to generating schemas based on open API schema file.

There are a lot of questions here, and supporting it in the general case might be very tricky. But we can start simple. It's possible this should be another repo though that you can optionally add... But we can start here and see where it gets us.

The idea is to get at least 80% of the way to written schemas (inline or not?). That would making creating API clients extrememly easy by letting us ingest the schema create schemas and programatically create a client for any API!

Adzz commented 2 years ago

Branch started here: https://github.com/Adzz/data_schema/tree/open-api