无法执行 dotnet swagger 命令

ROM*_*MAN 6 swagger swashbuckle asp.net-core dotnet-tool

我正在尝试执行该dotnet swagger命令,但收到一条错误消息:

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET Core program, but dotnet-swagger does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
Run Code Online (Sandbox Code Playgroud)
  • swashbuckle.aspnetcore.cli (5.0.0) 工具已全局安装。
  • 工具的路径已设置。

我做错了什么以及如何解决它?

Anu*_*raj 9

命令不再是dotnet swagger。仅此而已swagger

在此输入图像描述