Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.51k stars 4.94k forks source link

Incorrect ref in mixedreality #8863

Open lmazuel opened 4 years ago

lmazuel commented 4 years ago

Error: $ref to original location 'file:///C:/Users/lmazuel/Git/azure-rest-api-specs/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/common.json#/components/parameters/accountKeyRegenerateParameter' is not found in the new refs collection

yungezz commented 4 years ago

this need Swagger fixing. but didn't find mixed relatity service attention label, will follow to add one

XiangyuL-Microsoft commented 4 years ago

@akning-ms Hi, Arthur, May I ask what I should do for this issue, please?

akning-ms commented 4 years ago

HI @XiangyuL-Microsoft, You should follow the comment to fix the swagger issue. or re-assign to correct person in your team. seems there is a ref is missing or point to wrong place

XiangyuL-Microsoft commented 4 years ago

@lmazuel could you please explain a little about the issue? It seems that it happens on your local machine? Honestly, I have no idea how to fix it for you. Thank you very much.

lmazuel commented 4 years ago

Actually, I start to wonder if this could be an autorest v3 false positive, I'm discussing this with @daviwil right now about this. Two things here:

In the meantime, this should not be considered blocking for anything release or process.

daviwil commented 4 years ago

This seems to be a bug in AutoRest Core, I believe the $ref is specified correctly in the Swagger. Working on a fix now.

akning-ms commented 3 years ago

Hi @daviwil, as it is a bug for autorest core, can you just give a link here to track the bug? so we can close issue in swagger repo.

daviwil commented 3 years ago

Here it is: https://github.com/Azure/autorest/issues/3546