Just tried to generate my first client and hit this issue. I think using $ref for a parameter definition is pretty standard and looking at the spec doc it appears to be done correctly. Any ideas?
Hi @col, thanks for reporting this. Looks like I forgot to add ref support for params that are listed at the Path Item level (instead of the Operation level). It's now fixed on main if you'd like to try it out! ❤️
Just tried to generate my first client and hit this issue. I think using
$ref
for a parameter definition is pretty standard and looking at the spec doc it appears to be done correctly. Any ideas?Here's what I think is the relevant snippet from the spec.
Note: I'm using a YAML version of the spec but the original from CircleCI is in json format. The same error occurs using either format though.
Link to original spec doc: https://circleci.com/docs/api/v2/index.html (there is a download link at the top)