ROMAN
ROMAN

Reputation: 1576

Could not execute dotnet swagger command

I'm trying to execute the dotnet swagger command but received an error message:

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.

What am I doing wrong and how can I fix it?

Upvotes: 11

Views: 6663

Answers (1)

Anuraj
Anuraj

Reputation: 19618

The command is no longer dotnet swagger. It is swagger only.

enter image description here

Upvotes: 13

Related Questions