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

Exception generating Microsoft.MixedReality schema #42

Closed
anthony-c-martin opened this issue Oct 16, 2019 · 3 comments
Closed

Exception generating Microsoft.MixedReality schema #42

anthony-c-martin opened this issue Oct 16, 2019 · 3 comments
Assignees

Comments

@anthony-c-martin
Copy link
Member

Running against git commit # daa4465509ed3d43260a7d1bfe7e2ca0b70ac9b9 in the specs repo:

[C:\github\azure-resource-manager-schemas\generator] executing: autorest-beta.cmd --azureresourceschema --azureresourceschema.multi-scope=true --output-folder=C:\Users\antmarti\AppData\Local\Temp\ym5baqvubg --tag=all-api-versions --api-version=2019-02-28-preview --title=none C:\Users\antmarti\AppData\Local\Temp\schm_azspc\specification\mixedreality\resource-manager\readme.md
AutoRest code generation utility [version: 3.0.6118; node: v10.15.3, max-memory: 8192 gb]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      'C:\github\azure-resource-manager-schemas\generator\node_modules\@autorest\core\dist' (3.0.6126)
   Loading local AutoRest extension '@autorest/azureresourceschema' (C:\github\azure-resource-manager-schemas\generator\node_modules\@autorest\azureresourceschema)
ERROR: Schema violation: Missing required property: paths
    - file:///C:/Users/antmarti/AppData/Local/Temp/schm_azspc/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/common.json:1:1
Process() cancelled due to failure 
@leni-msft
Copy link
Collaborator

@leni-msft leni-msft self-assigned this Feb 21, 2020
@leni-msft
Copy link
Collaborator

[/home/leni/workspace/azure-resource-manager-schemas/generator] executing: autorest-beta --version=3.0.6274 --use=@autorest/[email protected] --azureresourceschema --output-folder=/tmp/x7s6zf00srl --tag=all-api-versions --api-version=2019-02-28-preview --title=none --pass-thru:subset-reducer /tmp/schm_azspc/specification/mixedreality/resource-manager/readme.md
AutoRest code generation utility [cli version: 3.0.6187; node: v13.9.0, max-memory: 8192 gb]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      '/home/leni/.autorest/@[email protected]/node_modules/@autorest/core/dist' (3.0.6274)
   Loading AutoRest extension '@autorest/azureresourceschema' (3.0.79->3.0.79)
  Error: $ref to original location 'file:///tmp/schm_azspc/specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2020-05-01/common.json#/components/parameters/accountKeyRegenerateParameter' is not found in the new refs collection

@leni-msft
Copy link
Collaborator

The $ref issue is fixed with Azure/autorest#3546

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