Gibt es eine Möglichkeit, Swagger -Dokument eines Projekts zu erhalten, ohne es auszuführen?C#

Ein Treffpunkt für C#-Programmierer
Anonymous
 Gibt es eine Möglichkeit, Swagger -Dokument eines Projekts zu erhalten, ohne es auszuführen?

Post by Anonymous »

Ich möchte die Swagger-Datei von Projekt X in meinem Analysator-Projekt herunterladen, aber ich möchte kein Projekt x. PrettyPrint-Override ">

Code: Select all

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 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.
Wenn ich versuche, swashbuckle.aspnetcore.cli zu installieren Ich sehe, dass es bereits installiert ist ((

Code: Select all

Tool 'swashbuckle.aspnetcore.cli' is already installed.
)
Wenn ich die DOTNE -Toolliste versuche --global , sehe ich es in der Tabelle.
Ich verwende .net 6.0.>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post