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

failure to collect all references #3728

Closed
iscai-msft opened this issue Dec 11, 2020 · 2 comments
Closed

failure to collect all references #3728

iscai-msft opened this issue Dec 11, 2020 · 2 comments
Assignees
Labels
AutoRest v3 Related to AutoRest v3 Core bug This issue requires a change to an existing behavior in the product in order to be resolved.

Comments

@iscai-msft
Copy link
Contributor

This was originally opened in the python repo, but it seems like an autorest bug to me.

Here's the original issue, it looks like the ref-ing in the swagger is good, so I think this might be an autorest bug

This is the config @00Kai0 used, and here's his error output

Errro log:

VERBOSE [2.81 s]: Reading OpenAPI 2.0 file file:///_/azure-rest-api-specs/specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2020-05-01/proxy.json
VERBOSE [2.84 s]: Reading OpenAPI 2.0 file file:///_/azure-rest-api-specs/specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2020-05-01/spatial-anchors.json
VERBOSE [2.87 s]: Reading OpenAPI 2.0 file file:///_/azure-rest-api-specs/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2020-04-06-preview/remote-rendering.json
VERBOSE [2.92 s]: Reading $ref'd file file:///_/azure-rest-api-specs/specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2020-05-01/common.json
VERBOSE [2.96 s]: Reading $ref'd file file:///_/azure-rest-api-specs/specification/common-types/resource-management/v1/types.json
VERBOSE [2.96 s]: Reading $ref'd file file:///_/azure-rest-api-specs/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2020-04-06-preview/common.json
  Error: $ref to original location 'file:///_/azure-rest-api-specs/specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2020-05-01/common.json#/components/parameters/accountKeyRegenerateParameter' is not found in the new refs collection

cc @00Kai0

@iscai-msft iscai-msft added AutoRest v3 Related to AutoRest v3 Core bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Dec 11, 2020
@timotheeguerin
Copy link
Member

@iscai-msft This looks like a duplicate of #3546, I am working on the fix for that actually.

@iscai-msft
Copy link
Contributor Author

ok perfect, sorry I forgot to search for current issues, closing this one, thanks @timotheeguerin !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoRest v3 Related to AutoRest v3 Core bug This issue requires a change to an existing behavior in the product in order to be resolved.
Projects
None yet
Development

No branches or pull requests

3 participants