Swagger Swashback.AspNetCore 5.2.1和autorest 3.0.6187返回没有服务器条目

Swagger Swashback.AspNetCore 5.2.1和autorest 3.0.6187返回没有服务器条目,swagger,openapi,autorest,swashbuckle.aspnetcore,Swagger,Openapi,Autorest,Swashbuckle.aspnetcore,我在使用autorest 3.0.6187为非常基本的Swashback.AspNetCore 5.2.1站点生成csharp或powershell客户端时遇到问题 是否有其他软件版本的组合可以一起工作,或者是否有方法使json输出包含带有api位置的服务器信息 PS C:\projects\MySwagger\scripts> autorest --input-file=http://myswagger.api.local/swagger/v1/swagger.json --powers

我在使用autorest 3.0.6187为非常基本的Swashback.AspNetCore 5.2.1站点生成csharp或powershell客户端时遇到问题 是否有其他软件版本的组合可以一起工作,或者是否有方法使json输出包含带有api位置的服务器信息

PS C:\projects\MySwagger\scripts> autorest --input-file=http://myswagger.api.local/swagger/v1/swagger.json --powershell --output-folder=CSharp_MySwagger --namespace=MySwaggerNamespace --v3
AutoRest code generation utility [cli version: 3.0.6187; node: v10.14.1, max-memory: 8192 gb]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      'C:\Users\MySwagger\.autorest\@autorest_core@3.0.6262\node_modules\@autorest\core\dist' (3.0.6262)
   Loading AutoRest extension '@autorest/powershell' (~2.1.327->2.1.372)
   Loading AutoRest extension '@autorest/remodeler' (~2.1.0->2.1.27)
FATAL: Error: Operation http-operation:0 : /api/EventItems has no servers entry (Are you missing 'host' or 'servers' information in your source file?)
  Error: Plugin remodeler reported failure.