1
0
mirror of synced 2025-12-30 03:02:21 -05:00
Files
airbyte/tools/openapi2jsonschema
Ben Church 1dabc6208e Metadata: add tags field (#26320)
* Add optional tags field

* Remove duplicate icons

* Add programming tags to all

* Update docs

* supportUrl -> documentationUrl

* Ensure one language tag is applied

* Add keyvalue check

* rebase and fix tests

* Format

* Add cache buster

* Improve test

* Automated Commit - Formatting Changes

* Update error

* Fix missing tags

* Fix scaffold

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@sers.noreply.github.com>
Co-authored-by: bnchrch <bnchrch@users.noreply.github.com>
2023-05-26 16:13:09 -07:00
..
2022-04-11 20:51:37 -07:00
2021-09-21 22:33:49 -03:00

openapi2jsonschema

Util for generating catalog schema from OpenAPI definition file. Forked from openapi2jsonschema util with fixes for generating standlone schemas e.g. ones that don't contain reference to other files/resources.

Usage

$ tools/openapi2jsonschema/run.sh <path to OpenAPI definition file>

It would generate set of JSONSchema files based on components described on OpenAPI's definition and place it in "schemas" folder in the current working directory.

Support OpenAPI v2.0, v3.0 and v3.1. Works with both JSON and Yaml OpenAPI formats.

Examples

You can try to run this tool on the sample OpenApi definition files located in examples directory. There are some OpenAPI files taken from APIs-guru repo from github.