You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The specs you're trying to generate from are intended to be used by our team to generate our public api documentation.
We don't currently support a js/ts sdk but if you wanted to try to generate one, you could try to do so via the api_sdk.yaml in the same folder you found the documentation specs.
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
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.
The text was updated successfully, but these errors were encountered: