From ffeb2969c18fdd2b60a9b4b0a625b3eadbfd95b2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 10 Jan 2020 16:06:44 -0500 Subject: [PATCH] swagger cli tool fixes --- appveyor.yml | 1 + bitwarden-server.sln | 1 + dotnet-tools.json | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 dotnet-tools.json diff --git a/appveyor.yml b/appveyor.yml index d9951f0f1..573a364d7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,6 +53,7 @@ before_build: #dotnet restore } else { msbuild /t:restore + dotnet tool restore } build_script: diff --git a/bitwarden-server.sln b/bitwarden-server.sln index 9acc83dd4..5316ccbc6 100644 --- a/bitwarden-server.sln +++ b/bitwarden-server.sln @@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .gitignore = .gitignore appveyor.yml = appveyor.yml build.sh = build.sh + dotnet-tools.json = dotnet-tools.json LICENSE.txt = LICENSE.txt NuGet.Config = NuGet.Config README.md = README.md diff --git a/dotnet-tools.json b/dotnet-tools.json new file mode 100644 index 000000000..e06d23e68 --- /dev/null +++ b/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "swashbuckle.aspnetcore.cli": { + "version": "5.0.0-rc4", + "commands": [ + "swagger" + ] + } + } +} \ No newline at end of file