GitHub
08/15/2025, 2:56 PMAccepting Pull Requests).
Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/310
Original issue description, by @aaronsteers on 2022-01-21 171212
Show
---
In a perfect world, we'd be able to leverage schema definitions from an API's publicly declared API definition such as OpenAPI spec.
@edgarrmondragon has proven this is a viable path via his work here: https://github.com/edgarrmondragon/tap-shortcut
---
From MeltanoLabs/tap-github#26 (comment):
@ericboucher:
@aaronsteers @edgarrmondragon are there any tools to extract the schema/typing directly from an OpenAPI file? It would be pretty neat if we could simply plug into github/rest-api-description@main/descriptions-next/api.github.com/api.github.com.json to generate and validate types@edgarrmondragon:
@ericboucher not any that do it as we need out-of-the-box, but I have an implementation here: https://github.com/edgarrmondragon/tap-shortcut/blob/99bb738608305baa11fe26acfe32d2c9c7089a58/tap_shortcut/tap.py#L86-L121.--- For my part, I have been thinking about the same, and wanted to start a discussion on whether an OpenAPI spec can be leveraged to speed up the development process. meltano/sdk
GitHub
08/15/2025, 2:56 PM