在文件路径具有空间的地方从命令行创建swagger文件失败

时间:2019-05-07 02:47:55

标签: swagger swashbuckle

当我运行以下命令时,它会失败,没有任何错误。在进一步分析中,这是由于“ myproj API”具有空格。我试图在路径两边加上双引号,但仍然没有结果。这是错误吗?

dotnet D:\myprojvsts\nuget\Swashbuckle.AspNetCore.Cli.4.0.1\lib\netcoreapp2.0\dotnet-swagger.dll tofile --output D:\myprojvsts\swagger\swagger.json D:\myprojvsts\myproj API\myproj.WebApi\bin\Debug\netcoreapp2.1\win7-x64\myproj.WebApi.dll v1

0 个答案:

没有答案
相关问题