You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am generating api.yaml file using autorest.cli with input file: azure-rest-api-specs\specification\policyinsights\resource-manager\readme.md
Tag in use
package-2019-10.
Cli section added in readme.md
cli:
cli-name: policyinsightsazure-arm: truelicense-header: MICROSOFT_MIT_NO_VERSIONnamespace: azure.mgmt.policyinsightspackage-name: azure-mgmt-policyinsightstest-scenario:
- name: Query latest at management group scope
Problem encountered
An error is reported as follows:
ERROR: ERROR RangeError: Maximum call stack size exceeded
at String.replace (<anonymous>)
at Object.ToSnakeCase (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\Helpers.js:8:19)
at new ModuleOption (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\ModuleMap.js:70:38)
at new ModuleOptionBody (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\ModuleMap.js:114:9)
at MapGenerator.GetModelOptions (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\MapGenerator.js:518:38)
at MapGenerator.GetModelOptions (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\MapGenerator.js:529:50)
at MapGenerator.GetModelOptions (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\MapGenerator.js:529:50)
at MapGenerator.GetModelOptions (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\MapGenerator.js:529:50)
at MapGenerator.GetModelOptions (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\MapGenerator.js:529:50)
at MapGenerator.GetModelOptions (C:\Users\dapzhang\Documents\workspace\autorest.cli\dist\Common\MapGenerator.js:529:50)
I am suspecting that the function GetModelOptions is nested to much levels.
The text was updated successfully, but these errors were encountered:
I am generating
api.yaml
file usingautorest.cli
with input file:azure-rest-api-specs\specification\policyinsights\resource-manager\readme.md
Tag in use
package-2019-10
.Cli section added in
readme.md
Problem encountered
An error is reported as follows:
I am suspecting that the function
GetModelOptions
is nested to much levels.The text was updated successfully, but these errors were encountered: