readmeio/api

Library does not support circular references in OAS

bennycode opened this issue · 1 comments

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.');

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