Open
Description
Topic
openapi api node sdk airbyte-server
Relevant information
Hi,
As the title suggest: it is currently impossible to generate the airbyte node SDK using api
because the open api definition file contains circular references.
Reproduction:
npx api install "https://github.com/airbytehq/airbyte-platform/blob/019a68c5f5445470f72506e198b992ae3cdf13a1/airbyte-api/server-api/src/main/openapi/api_documentation_connections.yaml" -i airbyte-api-connections -l ts -y
- see the error logs
⠋ Generating your SDKC:\Users\Izio\AppData\Local\npm-cache\_npx\334debcfbdc435a8\node_modules\api\dist\cli\codegen\language.js:24 throw new Error('Sorry, this library does not yet support generating an SDK for an OpenAPI definition that contains circular references.');
Side node: it is very annoying having to generate a different SDK for each domains (application/sources/destinations/...), i'd prefer a concatenated and self sufficient OpenAPI file definition to generate a single Airbyte SDK.