Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library does not support circular references in OAS #700

Closed
bennycode opened this issue Aug 21, 2023 · 1 comment
Closed

Library does not support circular references in OAS #700

bennycode opened this issue Aug 21, 2023 · 1 comment

Comments

@bennycode
Copy link
Contributor

I just tried to generate an API client for Alpaca using the following command:

npx api install https://dash.readme.com/api/v1/api-registry/zryj16ll4d1dl0

Unfortunately, it failed with the following response:

Generating your SDKC: 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.');

@erunion
Copy link
Member

erunion commented Aug 21, 2023

Yeah this is unfortunately an issue now with how we handle $ref parsing. #549

@erunion erunion closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants