Added web api template

This commit is contained in:
2021-10-13 09:43:00 -04:00
parent 61697bf9f7
commit 10a7dc7c71
48 changed files with 4263 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "Web\Web.csproj", "{979DAA86-473B-452E-9243-430E440A4019}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAPI", "WebAPI\WebAPI.csproj", "{DAEAA8D2-5ECF-4A41-BB6C-B3C0DF6FCE49}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -12,5 +14,9 @@ Global
{979DAA86-473B-452E-9243-430E440A4019}.Debug|Any CPU.Build.0 = Debug|Any CPU
{979DAA86-473B-452E-9243-430E440A4019}.Release|Any CPU.ActiveCfg = Release|Any CPU
{979DAA86-473B-452E-9243-430E440A4019}.Release|Any CPU.Build.0 = Release|Any CPU
{DAEAA8D2-5ECF-4A41-BB6C-B3C0DF6FCE49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DAEAA8D2-5ECF-4A41-BB6C-B3C0DF6FCE49}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DAEAA8D2-5ECF-4A41-BB6C-B3C0DF6FCE49}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DAEAA8D2-5ECF-4A41-BB6C-B3C0DF6FCE49}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace WebAPI.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private static readonly string[] Summaries = new[]
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
};
private readonly ILogger<WeatherForecastController> _logger;
public WeatherForecastController(ILogger<WeatherForecastController> logger)
{
_logger = logger;
}
[HttpGet]
public IEnumerable<WeatherForecast> Get()
{
var rng = new Random();
return Enumerable.Range(1, 5).Select(index => new WeatherForecast
{
Date = DateTime.Now.AddDays(index),
TemperatureC = rng.Next(-20, 55),
Summary = Summaries[rng.Next(Summaries.Length)]
})
.ToArray();
}
}
}

23
WebAPI/Program.cs Normal file
View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace WebAPI
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); });
}
}

View File

@@ -0,0 +1,31 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:36546",
"sslPort": 44319
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "swagger",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"WebAPI": {
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

52
WebAPI/Startup.cs Normal file
View File

@@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi.Models;
namespace WebAPI
{
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
public IConfiguration Configuration { get; }
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new OpenApiInfo {Title = "WebAPI", Version = "v1"}); });
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
app.UseSwagger();
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "WebAPI v1"));
}
app.UseHttpsRedirection();
app.UseRouting();
app.UseAuthorization();
app.UseEndpoints(endpoints => { endpoints.MapControllers(); });
}
}
}

15
WebAPI/WeatherForecast.cs Normal file
View File

@@ -0,0 +1,15 @@
using System;
namespace WebAPI
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int) (TemperatureC / 0.5556);
public string Summary { get; set; }
}
}

11
WebAPI/WebAPI.csproj Normal file
View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3"/>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

10
WebAPI/appsettings.json Normal file
View File

@@ -0,0 +1,10 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
WebAPI/bin/Debug/net5.0/WebAPI Executable file

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,8 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"/home/m/.dotnet/store/|arch|/|tfm|",
"/home/m/.nuget/packages"
]
}
}

View File

@@ -0,0 +1,13 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.AspNetCore.App",
"version": "5.0.0"
},
"configProperties": {
"System.GC.Server": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

View File

@@ -0,0 +1,10 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

Binary file not shown.

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]

View File

@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("WebAPI")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("WebAPI")]
[assembly: System.Reflection.AssemblyTitleAttribute("WebAPI")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
8071d147e32d0630849d28d7010f1c7d9f5cfc82

View File

@@ -0,0 +1,8 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = true
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows

View File

@@ -0,0 +1,16 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
2ba159081b2463c81a3b13e7540958b05f8628b8

Binary file not shown.

View File

@@ -0,0 +1 @@
b7d944c8002c7913d0ab17bd7251fa45a9d5cff1

View File

@@ -0,0 +1,29 @@
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/appsettings.Development.json
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/appsettings.json
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/WebAPI
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/WebAPI.deps.json
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/WebAPI.runtimeconfig.json
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/WebAPI.runtimeconfig.dev.json
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/WebAPI.dll
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/ref/WebAPI.dll
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/WebAPI.pdb
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/Microsoft.OpenApi.dll
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/Swashbuckle.AspNetCore.Swagger.dll
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/Swashbuckle.AspNetCore.SwaggerGen.dll
/home/m/Documents/PetriePanel/WebAPI/bin/Debug/net5.0/Swashbuckle.AspNetCore.SwaggerUI.dll
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.csprojAssemblyReference.cache
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.GeneratedMSBuildEditorConfig.editorconfig
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.AssemblyInfoInputs.cache
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.AssemblyInfo.cs
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.csproj.CoreCompileInputs.cache
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.MvcApplicationPartsAssemblyInfo.cs
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.MvcApplicationPartsAssemblyInfo.cache
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/staticwebassets/WebAPI.StaticWebAssets.Manifest.cache
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/staticwebassets/WebAPI.StaticWebAssets.xml
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/scopedcss/bundle/WebAPI.styles.css
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.RazorTargetAssemblyInfo.cache
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.csproj.CopyComplete
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.dll
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/ref/WebAPI.dll
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.pdb
/home/m/Documents/PetriePanel/WebAPI/obj/Debug/net5.0/WebAPI.genruntimeconfig.cache

Binary file not shown.

View File

@@ -0,0 +1 @@
6e0b13a831c64c28ae75cb3f6172d034aaca1432

Binary file not shown.

BIN
WebAPI/obj/Debug/net5.0/apphost Executable file

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
<StaticWebAssets Version="1.0" />

View File

@@ -0,0 +1,75 @@
{
"format": 1,
"restore": {
"/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj": {}
},
"projects": {
"/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj",
"projectName": "WebAPI",
"projectPath": "/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj",
"packagesPath": "/home/m/.nuget/packages/",
"outputPath": "/home/m/Documents/PetriePanel/WebAPI/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/m/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"dependencies": {
"Swashbuckle.AspNetCore": {
"target": "Package",
"version": "[5.6.3, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[5.0.0, 5.0.0]"
}
],
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/5.0.205/RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/m/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/m/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/m/.nuget/packages/" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server/3.0.0/build/Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server/3.0.0/build/Microsoft.Extensions.ApiDescription.Server.props')" />
<Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore/5.6.3/build/Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore/5.6.3/build/Swashbuckle.AspNetCore.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">/home/m/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0</PkgMicrosoft_Extensions_ApiDescription_Server>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server/3.0.0/build/Microsoft.Extensions.ApiDescription.Server.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server/3.0.0/build/Microsoft.Extensions.ApiDescription.Server.targets')" />
</ImportGroup>
</Project>

View File

@@ -0,0 +1,265 @@
{
"version": 3,
"targets": {
"net5.0": {
"Microsoft.Extensions.ApiDescription.Server/3.0.0": {
"type": "package",
"build": {
"build/Microsoft.Extensions.ApiDescription.Server.props": {},
"build/Microsoft.Extensions.ApiDescription.Server.targets": {}
},
"buildMultiTargeting": {
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props": {},
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets": {}
}
},
"Microsoft.OpenApi/1.2.3": {
"type": "package",
"compile": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {}
},
"runtime": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {}
}
},
"Swashbuckle.AspNetCore/5.6.3": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "3.0.0",
"Swashbuckle.AspNetCore.Swagger": "5.6.3",
"Swashbuckle.AspNetCore.SwaggerGen": "5.6.3",
"Swashbuckle.AspNetCore.SwaggerUI": "5.6.3"
},
"build": {
"build/Swashbuckle.AspNetCore.props": {}
}
},
"Swashbuckle.AspNetCore.Swagger/5.6.3": {
"type": "package",
"dependencies": {
"Microsoft.OpenApi": "1.2.3"
},
"compile": {
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll": {}
},
"frameworkReferences": [
"Microsoft.AspNetCore.App"
]
},
"Swashbuckle.AspNetCore.SwaggerGen/5.6.3": {
"type": "package",
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "5.6.3"
},
"compile": {
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {}
},
"frameworkReferences": [
"Microsoft.AspNetCore.App"
]
},
"Swashbuckle.AspNetCore.SwaggerUI/5.6.3": {
"type": "package",
"compile": {
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {}
},
"frameworkReferences": [
"Microsoft.AspNetCore.App"
]
}
}
},
"libraries": {
"Microsoft.Extensions.ApiDescription.Server/3.0.0": {
"sha512": "LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==",
"type": "package",
"path": "microsoft.extensions.apidescription.server/3.0.0",
"hasTools": true,
"files": [
".nupkg.metadata",
".signature.p7s",
"build/Microsoft.Extensions.ApiDescription.Server.props",
"build/Microsoft.Extensions.ApiDescription.Server.targets",
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props",
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets",
"microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512",
"microsoft.extensions.apidescription.server.nuspec",
"tools/Newtonsoft.Json.dll",
"tools/dotnet-getdocument.deps.json",
"tools/dotnet-getdocument.dll",
"tools/dotnet-getdocument.runtimeconfig.json",
"tools/net461-x86/GetDocument.Insider.exe",
"tools/net461-x86/GetDocument.Insider.exe.config",
"tools/net461/GetDocument.Insider.exe",
"tools/net461/GetDocument.Insider.exe.config",
"tools/netcoreapp2.1/GetDocument.Insider.deps.json",
"tools/netcoreapp2.1/GetDocument.Insider.dll",
"tools/netcoreapp2.1/GetDocument.Insider.runtimeconfig.json"
]
},
"Microsoft.OpenApi/1.2.3": {
"sha512": "Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==",
"type": "package",
"path": "microsoft.openapi/1.2.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net46/Microsoft.OpenApi.dll",
"lib/net46/Microsoft.OpenApi.pdb",
"lib/net46/Microsoft.OpenApi.xml",
"lib/netstandard2.0/Microsoft.OpenApi.dll",
"lib/netstandard2.0/Microsoft.OpenApi.pdb",
"lib/netstandard2.0/Microsoft.OpenApi.xml",
"microsoft.openapi.1.2.3.nupkg.sha512",
"microsoft.openapi.nuspec"
]
},
"Swashbuckle.AspNetCore/5.6.3": {
"sha512": "UkL9GU0mfaA+7RwYjEaBFvAzL8qNQhNqAeV5uaWUu/Z+fVgvK9FHkGCpTXBqSQeIHuZaIElzxnLDdIqGzuCnVg==",
"type": "package",
"path": "swashbuckle.aspnetcore/5.6.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"build/Swashbuckle.AspNetCore.props",
"swashbuckle.aspnetcore.5.6.3.nupkg.sha512",
"swashbuckle.aspnetcore.nuspec"
]
},
"Swashbuckle.AspNetCore.Swagger/5.6.3": {
"sha512": "rn/MmLscjg6WSnTZabojx5DQYle2GjPanSPbCU3Kw8Hy72KyQR3uy8R1Aew5vpNALjfUFm2M/vwUtqdOlzw+GA==",
"type": "package",
"path": "swashbuckle.aspnetcore.swagger/5.6.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.pdb",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.xml",
"lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.dll",
"lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.pdb",
"lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.xml",
"swashbuckle.aspnetcore.swagger.5.6.3.nupkg.sha512",
"swashbuckle.aspnetcore.swagger.nuspec"
]
},
"Swashbuckle.AspNetCore.SwaggerGen/5.6.3": {
"sha512": "CkhVeod/iLd3ikVTDOwG5sym8BE5xbqGJ15iF3cC7ZPg2kEwDQL4a88xjkzsvC9oOB2ax6B0rK0EgRK+eOBX+w==",
"type": "package",
"path": "swashbuckle.aspnetcore.swaggergen/5.6.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.pdb",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.xml",
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.dll",
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.pdb",
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.xml",
"swashbuckle.aspnetcore.swaggergen.5.6.3.nupkg.sha512",
"swashbuckle.aspnetcore.swaggergen.nuspec"
]
},
"Swashbuckle.AspNetCore.SwaggerUI/5.6.3": {
"sha512": "BPvcPxQRMsYZ3HnYmGKRWDwX4Wo29WHh14Q6B10BB8Yfbbcza+agOC2UrBFA1EuaZuOsFLbp6E2+mqVNF/Je8A==",
"type": "package",
"path": "swashbuckle.aspnetcore.swaggerui/5.6.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.pdb",
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.xml",
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.dll",
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.pdb",
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.xml",
"swashbuckle.aspnetcore.swaggerui.5.6.3.nupkg.sha512",
"swashbuckle.aspnetcore.swaggerui.nuspec"
]
}
},
"projectFileDependencyGroups": {
"net5.0": [
"Swashbuckle.AspNetCore >= 5.6.3"
]
},
"packageFolders": {
"/home/m/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj",
"projectName": "WebAPI",
"projectPath": "/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj",
"packagesPath": "/home/m/.nuget/packages/",
"outputPath": "/home/m/Documents/PetriePanel/WebAPI/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/m/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"dependencies": {
"Swashbuckle.AspNetCore": {
"target": "Package",
"version": "[5.6.3, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[5.0.0, 5.0.0]"
}
],
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/5.0.205/RuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,16 @@
{
"version": 2,
"dgSpecHash": "0x6sYhiB/5Vq9aNgyxeOvufMU8M8muswylMWuTRfzMwj3sWYq1LaEhEnxgogugw7HTukOTQl3N+ZeLIO3sOLpA==",
"success": true,
"projectFilePath": "/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj",
"expectedPackageFiles": [
"/home/m/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0/microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512",
"/home/m/.nuget/packages/microsoft.openapi/1.2.3/microsoft.openapi.1.2.3.nupkg.sha512",
"/home/m/.nuget/packages/swashbuckle.aspnetcore/5.6.3/swashbuckle.aspnetcore.5.6.3.nupkg.sha512",
"/home/m/.nuget/packages/swashbuckle.aspnetcore.swagger/5.6.3/swashbuckle.aspnetcore.swagger.5.6.3.nupkg.sha512",
"/home/m/.nuget/packages/swashbuckle.aspnetcore.swaggergen/5.6.3/swashbuckle.aspnetcore.swaggergen.5.6.3.nupkg.sha512",
"/home/m/.nuget/packages/swashbuckle.aspnetcore.swaggerui/5.6.3/swashbuckle.aspnetcore.swaggerui.5.6.3.nupkg.sha512",
"/home/m/.nuget/packages/microsoft.aspnetcore.app.ref/5.0.0/microsoft.aspnetcore.app.ref.5.0.0.nupkg.sha512"
],
"logs": []
}

View File

@@ -0,0 +1 @@
"restore":{"projectUniqueName":"/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj","projectName":"WebAPI","projectPath":"/home/m/Documents/PetriePanel/WebAPI/WebAPI.csproj","outputPath":"/home/m/Documents/PetriePanel/WebAPI/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net5.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net5.0":{"targetAlias":"net5.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net5.0":{"targetAlias":"net5.0","dependencies":{"Swashbuckle.AspNetCore":{"target":"Package","version":"[5.6.3, )"}},"imports":["net461","net462","net47","net471","net472","net48"],"assetTargetFallback":true,"warn":true,"downloadDependencies":[{"name":"Microsoft.AspNetCore.App.Ref","version":"[5.0.0, 5.0.0]"}],"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/share/dotnet/sdk/5.0.205/RuntimeIdentifierGraph.json"}}

View File

@@ -0,0 +1 @@
16341323962881904