netcore-blueprint 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Blueprint.API/Blueprint.API.csproj +13 -0
- package/Blueprint.API/Blueprint.API.csproj.user +6 -0
- package/Blueprint.API/Blueprint.API.http +6 -0
- package/Blueprint.API/Controllers/WeatherForecastController.cs +33 -0
- package/Blueprint.API/Program.cs +25 -0
- package/Blueprint.API/Properties/launchSettings.json +41 -0
- package/Blueprint.API/WeatherForecast.cs +13 -0
- package/Blueprint.API/appsettings.Development.json +8 -0
- package/Blueprint.API/appsettings.json +9 -0
- package/Blueprint.API/obj/Blueprint.API.csproj.nuget.dgspec.json +78 -0
- package/Blueprint.API/obj/Blueprint.API.csproj.nuget.g.props +22 -0
- package/Blueprint.API/obj/Blueprint.API.csproj.nuget.g.targets +6 -0
- package/Blueprint.API/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +4 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.AssemblyInfo.cs +23 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.AssemblyInfoInputs.cache +1 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.GeneratedMSBuildEditorConfig.editorconfig +19 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.GlobalUsings.g.cs +17 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.assets.cache +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.AssemblyReference.cache +0 -0
- package/Blueprint.API/obj/project.assets.json +503 -0
- package/Blueprint.API/obj/project.nuget.cache +15 -0
- package/Blueprint.API.sln +25 -0
- package/index.js +29 -20
- package/package.json +3 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
2
|
+
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<TargetFramework>net8.0</TargetFramework>
|
|
5
|
+
<Nullable>enable</Nullable>
|
|
6
|
+
<ImplicitUsings>enable</ImplicitUsings>
|
|
7
|
+
</PropertyGroup>
|
|
8
|
+
|
|
9
|
+
<ItemGroup>
|
|
10
|
+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
|
|
11
|
+
</ItemGroup>
|
|
12
|
+
|
|
13
|
+
</Project>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
using Microsoft.AspNetCore.Mvc;
|
|
2
|
+
|
|
3
|
+
namespace Blueprint.API.Controllers
|
|
4
|
+
{
|
|
5
|
+
[ApiController]
|
|
6
|
+
[Route("[controller]")]
|
|
7
|
+
public class WeatherForecastController : ControllerBase
|
|
8
|
+
{
|
|
9
|
+
private static readonly string[] Summaries = new[]
|
|
10
|
+
{
|
|
11
|
+
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
private readonly ILogger<WeatherForecastController> _logger;
|
|
15
|
+
|
|
16
|
+
public WeatherForecastController(ILogger<WeatherForecastController> logger)
|
|
17
|
+
{
|
|
18
|
+
_logger = logger;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[HttpGet(Name = "GetWeatherForecast")]
|
|
22
|
+
public IEnumerable<WeatherForecast> Get()
|
|
23
|
+
{
|
|
24
|
+
return Enumerable.Range(1, 5).Select(index => new WeatherForecast
|
|
25
|
+
{
|
|
26
|
+
Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
|
|
27
|
+
TemperatureC = Random.Shared.Next(-20, 55),
|
|
28
|
+
Summary = Summaries[Random.Shared.Next(Summaries.Length)]
|
|
29
|
+
})
|
|
30
|
+
.ToArray();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var builder = WebApplication.CreateBuilder(args);
|
|
2
|
+
|
|
3
|
+
// Add services to the container.
|
|
4
|
+
|
|
5
|
+
builder.Services.AddControllers();
|
|
6
|
+
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
|
|
7
|
+
builder.Services.AddEndpointsApiExplorer();
|
|
8
|
+
builder.Services.AddSwaggerGen();
|
|
9
|
+
|
|
10
|
+
var app = builder.Build();
|
|
11
|
+
|
|
12
|
+
// Configure the HTTP request pipeline.
|
|
13
|
+
if (app.Environment.IsDevelopment())
|
|
14
|
+
{
|
|
15
|
+
app.UseSwagger();
|
|
16
|
+
app.UseSwaggerUI();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
app.UseHttpsRedirection();
|
|
20
|
+
|
|
21
|
+
app.UseAuthorization();
|
|
22
|
+
|
|
23
|
+
app.MapControllers();
|
|
24
|
+
|
|
25
|
+
app.Run();
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json.schemastore.org/launchsettings.json",
|
|
3
|
+
"iisSettings": {
|
|
4
|
+
"windowsAuthentication": false,
|
|
5
|
+
"anonymousAuthentication": true,
|
|
6
|
+
"iisExpress": {
|
|
7
|
+
"applicationUrl": "http://localhost:21467",
|
|
8
|
+
"sslPort": 44391
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"profiles": {
|
|
12
|
+
"http": {
|
|
13
|
+
"commandName": "Project",
|
|
14
|
+
"dotnetRunMessages": true,
|
|
15
|
+
"launchBrowser": true,
|
|
16
|
+
"launchUrl": "swagger",
|
|
17
|
+
"applicationUrl": "http://localhost:5262",
|
|
18
|
+
"environmentVariables": {
|
|
19
|
+
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"https": {
|
|
23
|
+
"commandName": "Project",
|
|
24
|
+
"dotnetRunMessages": true,
|
|
25
|
+
"launchBrowser": true,
|
|
26
|
+
"launchUrl": "swagger",
|
|
27
|
+
"applicationUrl": "https://localhost:7280;http://localhost:5262",
|
|
28
|
+
"environmentVariables": {
|
|
29
|
+
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"IIS Express": {
|
|
33
|
+
"commandName": "IISExpress",
|
|
34
|
+
"launchBrowser": true,
|
|
35
|
+
"launchUrl": "swagger",
|
|
36
|
+
"environmentVariables": {
|
|
37
|
+
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
namespace Blueprint.API
|
|
2
|
+
{
|
|
3
|
+
public class WeatherForecast
|
|
4
|
+
{
|
|
5
|
+
public DateOnly Date { get; set; }
|
|
6
|
+
|
|
7
|
+
public int TemperatureC { get; set; }
|
|
8
|
+
|
|
9
|
+
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
|
10
|
+
|
|
11
|
+
public string? Summary { get; set; }
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"restore": {
|
|
4
|
+
"D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\Blueprint.API.csproj": {}
|
|
5
|
+
},
|
|
6
|
+
"projects": {
|
|
7
|
+
"D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\Blueprint.API.csproj": {
|
|
8
|
+
"version": "1.0.0",
|
|
9
|
+
"restore": {
|
|
10
|
+
"projectUniqueName": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\Blueprint.API.csproj",
|
|
11
|
+
"projectName": "Blueprint.API",
|
|
12
|
+
"projectPath": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\Blueprint.API.csproj",
|
|
13
|
+
"packagesPath": "C:\\Users\\Truong\\.nuget\\packages\\",
|
|
14
|
+
"outputPath": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\obj\\",
|
|
15
|
+
"projectStyle": "PackageReference",
|
|
16
|
+
"configFilePaths": [
|
|
17
|
+
"C:\\Users\\Truong\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
|
18
|
+
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
|
19
|
+
],
|
|
20
|
+
"originalTargetFrameworks": [
|
|
21
|
+
"net8.0"
|
|
22
|
+
],
|
|
23
|
+
"sources": {
|
|
24
|
+
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
|
25
|
+
"C:\\Program Files\\dotnet\\library-packs": {},
|
|
26
|
+
"https://api.nuget.org/v3/index.json": {}
|
|
27
|
+
},
|
|
28
|
+
"frameworks": {
|
|
29
|
+
"net8.0": {
|
|
30
|
+
"targetAlias": "net8.0",
|
|
31
|
+
"projectReferences": {}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"warningProperties": {
|
|
35
|
+
"warnAsError": [
|
|
36
|
+
"NU1605"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"restoreAuditProperties": {
|
|
40
|
+
"enableAudit": "true",
|
|
41
|
+
"auditLevel": "low",
|
|
42
|
+
"auditMode": "direct"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"frameworks": {
|
|
46
|
+
"net8.0": {
|
|
47
|
+
"targetAlias": "net8.0",
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"Swashbuckle.AspNetCore": {
|
|
50
|
+
"target": "Package",
|
|
51
|
+
"version": "[6.4.0, )"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"imports": [
|
|
55
|
+
"net461",
|
|
56
|
+
"net462",
|
|
57
|
+
"net47",
|
|
58
|
+
"net471",
|
|
59
|
+
"net472",
|
|
60
|
+
"net48",
|
|
61
|
+
"net481"
|
|
62
|
+
],
|
|
63
|
+
"assetTargetFallback": true,
|
|
64
|
+
"warn": true,
|
|
65
|
+
"frameworkReferences": {
|
|
66
|
+
"Microsoft.AspNetCore.App": {
|
|
67
|
+
"privateAssets": "none"
|
|
68
|
+
},
|
|
69
|
+
"Microsoft.NETCore.App": {
|
|
70
|
+
"privateAssets": "all"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.302/PortableRuntimeIdentifierGraph.json"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
4
|
+
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
|
5
|
+
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
|
6
|
+
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
|
7
|
+
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
|
8
|
+
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Truong\.nuget\packages\</NuGetPackageFolders>
|
|
9
|
+
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
|
10
|
+
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.10.1</NuGetToolVersion>
|
|
11
|
+
</PropertyGroup>
|
|
12
|
+
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
13
|
+
<SourceRoot Include="C:\Users\Truong\.nuget\packages\" />
|
|
14
|
+
</ItemGroup>
|
|
15
|
+
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
16
|
+
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props')" />
|
|
17
|
+
<Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props')" />
|
|
18
|
+
</ImportGroup>
|
|
19
|
+
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
20
|
+
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\Truong\.nuget\packages\microsoft.extensions.apidescription.server\6.0.5</PkgMicrosoft_Extensions_ApiDescription_Server>
|
|
21
|
+
</PropertyGroup>
|
|
22
|
+
</Project>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
4
|
+
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.targets')" />
|
|
5
|
+
</ImportGroup>
|
|
6
|
+
</Project>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Runtime Version:4.0.30319.42000
|
|
5
|
+
//
|
|
6
|
+
// Changes to this file may cause incorrect behavior and will be lost if
|
|
7
|
+
// the code is regenerated.
|
|
8
|
+
// </auto-generated>
|
|
9
|
+
//------------------------------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
using System;
|
|
12
|
+
using System.Reflection;
|
|
13
|
+
|
|
14
|
+
[assembly: System.Reflection.AssemblyCompanyAttribute("Blueprint.API")]
|
|
15
|
+
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
16
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
17
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c0e55e8f35fa9e631e571905ff3b3053bff4919f")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyProductAttribute("Blueprint.API")]
|
|
19
|
+
[assembly: System.Reflection.AssemblyTitleAttribute("Blueprint.API")]
|
|
20
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
21
|
+
|
|
22
|
+
// Generated by the MSBuild WriteCodeFragment class.
|
|
23
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
88710140d5f0078b98236ac5396fb0b98e988ca233b9f3b1eb067dcb691e448c
|
package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.GeneratedMSBuildEditorConfig.editorconfig
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
is_global = true
|
|
2
|
+
build_property.TargetFramework = net8.0
|
|
3
|
+
build_property.TargetPlatformMinVersion =
|
|
4
|
+
build_property.UsingMicrosoftNETSdkWeb = true
|
|
5
|
+
build_property.ProjectTypeGuids =
|
|
6
|
+
build_property.InvariantGlobalization =
|
|
7
|
+
build_property.PlatformNeutralAssembly =
|
|
8
|
+
build_property.EnforceExtendedAnalyzerRules =
|
|
9
|
+
build_property._SupportedPlatformList = Linux,macOS,Windows
|
|
10
|
+
build_property.RootNamespace = Blueprint.API
|
|
11
|
+
build_property.RootNamespace = Blueprint.API
|
|
12
|
+
build_property.ProjectDir = D:\@Projects\@@ Blueprint\NetWebAPIBlueprint\Blueprint.API\Blueprint.API\
|
|
13
|
+
build_property.EnableComHosting =
|
|
14
|
+
build_property.EnableGeneratedComInterfaceComImportInterop =
|
|
15
|
+
build_property.RazorLangVersion = 8.0
|
|
16
|
+
build_property.SupportLocalizedComponentNames =
|
|
17
|
+
build_property.GenerateRazorMetadataSourceChecksumAttributes =
|
|
18
|
+
build_property.MSBuildProjectDirectory = D:\@Projects\@@ Blueprint\NetWebAPIBlueprint\Blueprint.API\Blueprint.API
|
|
19
|
+
build_property._RazorSourceGeneratorDebug =
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// <auto-generated/>
|
|
2
|
+
global using global::Microsoft.AspNetCore.Builder;
|
|
3
|
+
global using global::Microsoft.AspNetCore.Hosting;
|
|
4
|
+
global using global::Microsoft.AspNetCore.Http;
|
|
5
|
+
global using global::Microsoft.AspNetCore.Routing;
|
|
6
|
+
global using global::Microsoft.Extensions.Configuration;
|
|
7
|
+
global using global::Microsoft.Extensions.DependencyInjection;
|
|
8
|
+
global using global::Microsoft.Extensions.Hosting;
|
|
9
|
+
global using global::Microsoft.Extensions.Logging;
|
|
10
|
+
global using global::System;
|
|
11
|
+
global using global::System.Collections.Generic;
|
|
12
|
+
global using global::System.IO;
|
|
13
|
+
global using global::System.Linq;
|
|
14
|
+
global using global::System.Net.Http;
|
|
15
|
+
global using global::System.Net.Http.Json;
|
|
16
|
+
global using global::System.Threading;
|
|
17
|
+
global using global::System.Threading.Tasks;
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"targets": {
|
|
4
|
+
"net8.0": {
|
|
5
|
+
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {
|
|
6
|
+
"type": "package",
|
|
7
|
+
"build": {
|
|
8
|
+
"build/Microsoft.Extensions.ApiDescription.Server.props": {},
|
|
9
|
+
"build/Microsoft.Extensions.ApiDescription.Server.targets": {}
|
|
10
|
+
},
|
|
11
|
+
"buildMultiTargeting": {
|
|
12
|
+
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props": {},
|
|
13
|
+
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets": {}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"Microsoft.OpenApi/1.2.3": {
|
|
17
|
+
"type": "package",
|
|
18
|
+
"compile": {
|
|
19
|
+
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
|
|
20
|
+
"related": ".pdb;.xml"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"runtime": {
|
|
24
|
+
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
|
|
25
|
+
"related": ".pdb;.xml"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"Swashbuckle.AspNetCore/6.4.0": {
|
|
30
|
+
"type": "package",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
|
|
33
|
+
"Swashbuckle.AspNetCore.Swagger": "6.4.0",
|
|
34
|
+
"Swashbuckle.AspNetCore.SwaggerGen": "6.4.0",
|
|
35
|
+
"Swashbuckle.AspNetCore.SwaggerUI": "6.4.0"
|
|
36
|
+
},
|
|
37
|
+
"build": {
|
|
38
|
+
"build/Swashbuckle.AspNetCore.props": {}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
|
|
42
|
+
"type": "package",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"Microsoft.OpenApi": "1.2.3"
|
|
45
|
+
},
|
|
46
|
+
"compile": {
|
|
47
|
+
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
|
|
48
|
+
"related": ".pdb;.xml"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"runtime": {
|
|
52
|
+
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
|
|
53
|
+
"related": ".pdb;.xml"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"frameworkReferences": [
|
|
57
|
+
"Microsoft.AspNetCore.App"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
|
|
61
|
+
"type": "package",
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"Swashbuckle.AspNetCore.Swagger": "6.4.0"
|
|
64
|
+
},
|
|
65
|
+
"compile": {
|
|
66
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
|
|
67
|
+
"related": ".pdb;.xml"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"runtime": {
|
|
71
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
|
|
72
|
+
"related": ".pdb;.xml"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
|
|
77
|
+
"type": "package",
|
|
78
|
+
"compile": {
|
|
79
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
|
|
80
|
+
"related": ".pdb;.xml"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"runtime": {
|
|
84
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
|
|
85
|
+
"related": ".pdb;.xml"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"frameworkReferences": [
|
|
89
|
+
"Microsoft.AspNetCore.App"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"libraries": {
|
|
95
|
+
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {
|
|
96
|
+
"sha512": "Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==",
|
|
97
|
+
"type": "package",
|
|
98
|
+
"path": "microsoft.extensions.apidescription.server/6.0.5",
|
|
99
|
+
"hasTools": true,
|
|
100
|
+
"files": [
|
|
101
|
+
".nupkg.metadata",
|
|
102
|
+
".signature.p7s",
|
|
103
|
+
"Icon.png",
|
|
104
|
+
"build/Microsoft.Extensions.ApiDescription.Server.props",
|
|
105
|
+
"build/Microsoft.Extensions.ApiDescription.Server.targets",
|
|
106
|
+
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props",
|
|
107
|
+
"buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets",
|
|
108
|
+
"microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512",
|
|
109
|
+
"microsoft.extensions.apidescription.server.nuspec",
|
|
110
|
+
"tools/Newtonsoft.Json.dll",
|
|
111
|
+
"tools/dotnet-getdocument.deps.json",
|
|
112
|
+
"tools/dotnet-getdocument.dll",
|
|
113
|
+
"tools/dotnet-getdocument.runtimeconfig.json",
|
|
114
|
+
"tools/net461-x86/GetDocument.Insider.exe",
|
|
115
|
+
"tools/net461-x86/GetDocument.Insider.exe.config",
|
|
116
|
+
"tools/net461-x86/Microsoft.Win32.Primitives.dll",
|
|
117
|
+
"tools/net461-x86/System.AppContext.dll",
|
|
118
|
+
"tools/net461-x86/System.Buffers.dll",
|
|
119
|
+
"tools/net461-x86/System.Collections.Concurrent.dll",
|
|
120
|
+
"tools/net461-x86/System.Collections.NonGeneric.dll",
|
|
121
|
+
"tools/net461-x86/System.Collections.Specialized.dll",
|
|
122
|
+
"tools/net461-x86/System.Collections.dll",
|
|
123
|
+
"tools/net461-x86/System.ComponentModel.EventBasedAsync.dll",
|
|
124
|
+
"tools/net461-x86/System.ComponentModel.Primitives.dll",
|
|
125
|
+
"tools/net461-x86/System.ComponentModel.TypeConverter.dll",
|
|
126
|
+
"tools/net461-x86/System.ComponentModel.dll",
|
|
127
|
+
"tools/net461-x86/System.Console.dll",
|
|
128
|
+
"tools/net461-x86/System.Data.Common.dll",
|
|
129
|
+
"tools/net461-x86/System.Diagnostics.Contracts.dll",
|
|
130
|
+
"tools/net461-x86/System.Diagnostics.Debug.dll",
|
|
131
|
+
"tools/net461-x86/System.Diagnostics.DiagnosticSource.dll",
|
|
132
|
+
"tools/net461-x86/System.Diagnostics.FileVersionInfo.dll",
|
|
133
|
+
"tools/net461-x86/System.Diagnostics.Process.dll",
|
|
134
|
+
"tools/net461-x86/System.Diagnostics.StackTrace.dll",
|
|
135
|
+
"tools/net461-x86/System.Diagnostics.TextWriterTraceListener.dll",
|
|
136
|
+
"tools/net461-x86/System.Diagnostics.Tools.dll",
|
|
137
|
+
"tools/net461-x86/System.Diagnostics.TraceSource.dll",
|
|
138
|
+
"tools/net461-x86/System.Diagnostics.Tracing.dll",
|
|
139
|
+
"tools/net461-x86/System.Drawing.Primitives.dll",
|
|
140
|
+
"tools/net461-x86/System.Dynamic.Runtime.dll",
|
|
141
|
+
"tools/net461-x86/System.Globalization.Calendars.dll",
|
|
142
|
+
"tools/net461-x86/System.Globalization.Extensions.dll",
|
|
143
|
+
"tools/net461-x86/System.Globalization.dll",
|
|
144
|
+
"tools/net461-x86/System.IO.Compression.ZipFile.dll",
|
|
145
|
+
"tools/net461-x86/System.IO.Compression.dll",
|
|
146
|
+
"tools/net461-x86/System.IO.FileSystem.DriveInfo.dll",
|
|
147
|
+
"tools/net461-x86/System.IO.FileSystem.Primitives.dll",
|
|
148
|
+
"tools/net461-x86/System.IO.FileSystem.Watcher.dll",
|
|
149
|
+
"tools/net461-x86/System.IO.FileSystem.dll",
|
|
150
|
+
"tools/net461-x86/System.IO.IsolatedStorage.dll",
|
|
151
|
+
"tools/net461-x86/System.IO.MemoryMappedFiles.dll",
|
|
152
|
+
"tools/net461-x86/System.IO.Pipes.dll",
|
|
153
|
+
"tools/net461-x86/System.IO.UnmanagedMemoryStream.dll",
|
|
154
|
+
"tools/net461-x86/System.IO.dll",
|
|
155
|
+
"tools/net461-x86/System.Linq.Expressions.dll",
|
|
156
|
+
"tools/net461-x86/System.Linq.Parallel.dll",
|
|
157
|
+
"tools/net461-x86/System.Linq.Queryable.dll",
|
|
158
|
+
"tools/net461-x86/System.Linq.dll",
|
|
159
|
+
"tools/net461-x86/System.Memory.dll",
|
|
160
|
+
"tools/net461-x86/System.Net.Http.dll",
|
|
161
|
+
"tools/net461-x86/System.Net.NameResolution.dll",
|
|
162
|
+
"tools/net461-x86/System.Net.NetworkInformation.dll",
|
|
163
|
+
"tools/net461-x86/System.Net.Ping.dll",
|
|
164
|
+
"tools/net461-x86/System.Net.Primitives.dll",
|
|
165
|
+
"tools/net461-x86/System.Net.Requests.dll",
|
|
166
|
+
"tools/net461-x86/System.Net.Security.dll",
|
|
167
|
+
"tools/net461-x86/System.Net.Sockets.dll",
|
|
168
|
+
"tools/net461-x86/System.Net.WebHeaderCollection.dll",
|
|
169
|
+
"tools/net461-x86/System.Net.WebSockets.Client.dll",
|
|
170
|
+
"tools/net461-x86/System.Net.WebSockets.dll",
|
|
171
|
+
"tools/net461-x86/System.Numerics.Vectors.dll",
|
|
172
|
+
"tools/net461-x86/System.ObjectModel.dll",
|
|
173
|
+
"tools/net461-x86/System.Reflection.Extensions.dll",
|
|
174
|
+
"tools/net461-x86/System.Reflection.Primitives.dll",
|
|
175
|
+
"tools/net461-x86/System.Reflection.dll",
|
|
176
|
+
"tools/net461-x86/System.Resources.Reader.dll",
|
|
177
|
+
"tools/net461-x86/System.Resources.ResourceManager.dll",
|
|
178
|
+
"tools/net461-x86/System.Resources.Writer.dll",
|
|
179
|
+
"tools/net461-x86/System.Runtime.CompilerServices.Unsafe.dll",
|
|
180
|
+
"tools/net461-x86/System.Runtime.CompilerServices.VisualC.dll",
|
|
181
|
+
"tools/net461-x86/System.Runtime.Extensions.dll",
|
|
182
|
+
"tools/net461-x86/System.Runtime.Handles.dll",
|
|
183
|
+
"tools/net461-x86/System.Runtime.InteropServices.RuntimeInformation.dll",
|
|
184
|
+
"tools/net461-x86/System.Runtime.InteropServices.dll",
|
|
185
|
+
"tools/net461-x86/System.Runtime.Numerics.dll",
|
|
186
|
+
"tools/net461-x86/System.Runtime.Serialization.Formatters.dll",
|
|
187
|
+
"tools/net461-x86/System.Runtime.Serialization.Json.dll",
|
|
188
|
+
"tools/net461-x86/System.Runtime.Serialization.Primitives.dll",
|
|
189
|
+
"tools/net461-x86/System.Runtime.Serialization.Xml.dll",
|
|
190
|
+
"tools/net461-x86/System.Runtime.dll",
|
|
191
|
+
"tools/net461-x86/System.Security.Claims.dll",
|
|
192
|
+
"tools/net461-x86/System.Security.Cryptography.Algorithms.dll",
|
|
193
|
+
"tools/net461-x86/System.Security.Cryptography.Csp.dll",
|
|
194
|
+
"tools/net461-x86/System.Security.Cryptography.Encoding.dll",
|
|
195
|
+
"tools/net461-x86/System.Security.Cryptography.Primitives.dll",
|
|
196
|
+
"tools/net461-x86/System.Security.Cryptography.X509Certificates.dll",
|
|
197
|
+
"tools/net461-x86/System.Security.Principal.dll",
|
|
198
|
+
"tools/net461-x86/System.Security.SecureString.dll",
|
|
199
|
+
"tools/net461-x86/System.Text.Encoding.Extensions.dll",
|
|
200
|
+
"tools/net461-x86/System.Text.Encoding.dll",
|
|
201
|
+
"tools/net461-x86/System.Text.RegularExpressions.dll",
|
|
202
|
+
"tools/net461-x86/System.Threading.Overlapped.dll",
|
|
203
|
+
"tools/net461-x86/System.Threading.Tasks.Parallel.dll",
|
|
204
|
+
"tools/net461-x86/System.Threading.Tasks.dll",
|
|
205
|
+
"tools/net461-x86/System.Threading.Thread.dll",
|
|
206
|
+
"tools/net461-x86/System.Threading.ThreadPool.dll",
|
|
207
|
+
"tools/net461-x86/System.Threading.Timer.dll",
|
|
208
|
+
"tools/net461-x86/System.Threading.dll",
|
|
209
|
+
"tools/net461-x86/System.ValueTuple.dll",
|
|
210
|
+
"tools/net461-x86/System.Xml.ReaderWriter.dll",
|
|
211
|
+
"tools/net461-x86/System.Xml.XDocument.dll",
|
|
212
|
+
"tools/net461-x86/System.Xml.XPath.XDocument.dll",
|
|
213
|
+
"tools/net461-x86/System.Xml.XPath.dll",
|
|
214
|
+
"tools/net461-x86/System.Xml.XmlDocument.dll",
|
|
215
|
+
"tools/net461-x86/System.Xml.XmlSerializer.dll",
|
|
216
|
+
"tools/net461-x86/netstandard.dll",
|
|
217
|
+
"tools/net461/GetDocument.Insider.exe",
|
|
218
|
+
"tools/net461/GetDocument.Insider.exe.config",
|
|
219
|
+
"tools/net461/Microsoft.Win32.Primitives.dll",
|
|
220
|
+
"tools/net461/System.AppContext.dll",
|
|
221
|
+
"tools/net461/System.Buffers.dll",
|
|
222
|
+
"tools/net461/System.Collections.Concurrent.dll",
|
|
223
|
+
"tools/net461/System.Collections.NonGeneric.dll",
|
|
224
|
+
"tools/net461/System.Collections.Specialized.dll",
|
|
225
|
+
"tools/net461/System.Collections.dll",
|
|
226
|
+
"tools/net461/System.ComponentModel.EventBasedAsync.dll",
|
|
227
|
+
"tools/net461/System.ComponentModel.Primitives.dll",
|
|
228
|
+
"tools/net461/System.ComponentModel.TypeConverter.dll",
|
|
229
|
+
"tools/net461/System.ComponentModel.dll",
|
|
230
|
+
"tools/net461/System.Console.dll",
|
|
231
|
+
"tools/net461/System.Data.Common.dll",
|
|
232
|
+
"tools/net461/System.Diagnostics.Contracts.dll",
|
|
233
|
+
"tools/net461/System.Diagnostics.Debug.dll",
|
|
234
|
+
"tools/net461/System.Diagnostics.DiagnosticSource.dll",
|
|
235
|
+
"tools/net461/System.Diagnostics.FileVersionInfo.dll",
|
|
236
|
+
"tools/net461/System.Diagnostics.Process.dll",
|
|
237
|
+
"tools/net461/System.Diagnostics.StackTrace.dll",
|
|
238
|
+
"tools/net461/System.Diagnostics.TextWriterTraceListener.dll",
|
|
239
|
+
"tools/net461/System.Diagnostics.Tools.dll",
|
|
240
|
+
"tools/net461/System.Diagnostics.TraceSource.dll",
|
|
241
|
+
"tools/net461/System.Diagnostics.Tracing.dll",
|
|
242
|
+
"tools/net461/System.Drawing.Primitives.dll",
|
|
243
|
+
"tools/net461/System.Dynamic.Runtime.dll",
|
|
244
|
+
"tools/net461/System.Globalization.Calendars.dll",
|
|
245
|
+
"tools/net461/System.Globalization.Extensions.dll",
|
|
246
|
+
"tools/net461/System.Globalization.dll",
|
|
247
|
+
"tools/net461/System.IO.Compression.ZipFile.dll",
|
|
248
|
+
"tools/net461/System.IO.Compression.dll",
|
|
249
|
+
"tools/net461/System.IO.FileSystem.DriveInfo.dll",
|
|
250
|
+
"tools/net461/System.IO.FileSystem.Primitives.dll",
|
|
251
|
+
"tools/net461/System.IO.FileSystem.Watcher.dll",
|
|
252
|
+
"tools/net461/System.IO.FileSystem.dll",
|
|
253
|
+
"tools/net461/System.IO.IsolatedStorage.dll",
|
|
254
|
+
"tools/net461/System.IO.MemoryMappedFiles.dll",
|
|
255
|
+
"tools/net461/System.IO.Pipes.dll",
|
|
256
|
+
"tools/net461/System.IO.UnmanagedMemoryStream.dll",
|
|
257
|
+
"tools/net461/System.IO.dll",
|
|
258
|
+
"tools/net461/System.Linq.Expressions.dll",
|
|
259
|
+
"tools/net461/System.Linq.Parallel.dll",
|
|
260
|
+
"tools/net461/System.Linq.Queryable.dll",
|
|
261
|
+
"tools/net461/System.Linq.dll",
|
|
262
|
+
"tools/net461/System.Memory.dll",
|
|
263
|
+
"tools/net461/System.Net.Http.dll",
|
|
264
|
+
"tools/net461/System.Net.NameResolution.dll",
|
|
265
|
+
"tools/net461/System.Net.NetworkInformation.dll",
|
|
266
|
+
"tools/net461/System.Net.Ping.dll",
|
|
267
|
+
"tools/net461/System.Net.Primitives.dll",
|
|
268
|
+
"tools/net461/System.Net.Requests.dll",
|
|
269
|
+
"tools/net461/System.Net.Security.dll",
|
|
270
|
+
"tools/net461/System.Net.Sockets.dll",
|
|
271
|
+
"tools/net461/System.Net.WebHeaderCollection.dll",
|
|
272
|
+
"tools/net461/System.Net.WebSockets.Client.dll",
|
|
273
|
+
"tools/net461/System.Net.WebSockets.dll",
|
|
274
|
+
"tools/net461/System.Numerics.Vectors.dll",
|
|
275
|
+
"tools/net461/System.ObjectModel.dll",
|
|
276
|
+
"tools/net461/System.Reflection.Extensions.dll",
|
|
277
|
+
"tools/net461/System.Reflection.Primitives.dll",
|
|
278
|
+
"tools/net461/System.Reflection.dll",
|
|
279
|
+
"tools/net461/System.Resources.Reader.dll",
|
|
280
|
+
"tools/net461/System.Resources.ResourceManager.dll",
|
|
281
|
+
"tools/net461/System.Resources.Writer.dll",
|
|
282
|
+
"tools/net461/System.Runtime.CompilerServices.Unsafe.dll",
|
|
283
|
+
"tools/net461/System.Runtime.CompilerServices.VisualC.dll",
|
|
284
|
+
"tools/net461/System.Runtime.Extensions.dll",
|
|
285
|
+
"tools/net461/System.Runtime.Handles.dll",
|
|
286
|
+
"tools/net461/System.Runtime.InteropServices.RuntimeInformation.dll",
|
|
287
|
+
"tools/net461/System.Runtime.InteropServices.dll",
|
|
288
|
+
"tools/net461/System.Runtime.Numerics.dll",
|
|
289
|
+
"tools/net461/System.Runtime.Serialization.Formatters.dll",
|
|
290
|
+
"tools/net461/System.Runtime.Serialization.Json.dll",
|
|
291
|
+
"tools/net461/System.Runtime.Serialization.Primitives.dll",
|
|
292
|
+
"tools/net461/System.Runtime.Serialization.Xml.dll",
|
|
293
|
+
"tools/net461/System.Runtime.dll",
|
|
294
|
+
"tools/net461/System.Security.Claims.dll",
|
|
295
|
+
"tools/net461/System.Security.Cryptography.Algorithms.dll",
|
|
296
|
+
"tools/net461/System.Security.Cryptography.Csp.dll",
|
|
297
|
+
"tools/net461/System.Security.Cryptography.Encoding.dll",
|
|
298
|
+
"tools/net461/System.Security.Cryptography.Primitives.dll",
|
|
299
|
+
"tools/net461/System.Security.Cryptography.X509Certificates.dll",
|
|
300
|
+
"tools/net461/System.Security.Principal.dll",
|
|
301
|
+
"tools/net461/System.Security.SecureString.dll",
|
|
302
|
+
"tools/net461/System.Text.Encoding.Extensions.dll",
|
|
303
|
+
"tools/net461/System.Text.Encoding.dll",
|
|
304
|
+
"tools/net461/System.Text.RegularExpressions.dll",
|
|
305
|
+
"tools/net461/System.Threading.Overlapped.dll",
|
|
306
|
+
"tools/net461/System.Threading.Tasks.Parallel.dll",
|
|
307
|
+
"tools/net461/System.Threading.Tasks.dll",
|
|
308
|
+
"tools/net461/System.Threading.Thread.dll",
|
|
309
|
+
"tools/net461/System.Threading.ThreadPool.dll",
|
|
310
|
+
"tools/net461/System.Threading.Timer.dll",
|
|
311
|
+
"tools/net461/System.Threading.dll",
|
|
312
|
+
"tools/net461/System.ValueTuple.dll",
|
|
313
|
+
"tools/net461/System.Xml.ReaderWriter.dll",
|
|
314
|
+
"tools/net461/System.Xml.XDocument.dll",
|
|
315
|
+
"tools/net461/System.Xml.XPath.XDocument.dll",
|
|
316
|
+
"tools/net461/System.Xml.XPath.dll",
|
|
317
|
+
"tools/net461/System.Xml.XmlDocument.dll",
|
|
318
|
+
"tools/net461/System.Xml.XmlSerializer.dll",
|
|
319
|
+
"tools/net461/netstandard.dll",
|
|
320
|
+
"tools/netcoreapp2.1/GetDocument.Insider.deps.json",
|
|
321
|
+
"tools/netcoreapp2.1/GetDocument.Insider.dll",
|
|
322
|
+
"tools/netcoreapp2.1/GetDocument.Insider.runtimeconfig.json",
|
|
323
|
+
"tools/netcoreapp2.1/System.Diagnostics.DiagnosticSource.dll"
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
"Microsoft.OpenApi/1.2.3": {
|
|
327
|
+
"sha512": "Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==",
|
|
328
|
+
"type": "package",
|
|
329
|
+
"path": "microsoft.openapi/1.2.3",
|
|
330
|
+
"files": [
|
|
331
|
+
".nupkg.metadata",
|
|
332
|
+
".signature.p7s",
|
|
333
|
+
"lib/net46/Microsoft.OpenApi.dll",
|
|
334
|
+
"lib/net46/Microsoft.OpenApi.pdb",
|
|
335
|
+
"lib/net46/Microsoft.OpenApi.xml",
|
|
336
|
+
"lib/netstandard2.0/Microsoft.OpenApi.dll",
|
|
337
|
+
"lib/netstandard2.0/Microsoft.OpenApi.pdb",
|
|
338
|
+
"lib/netstandard2.0/Microsoft.OpenApi.xml",
|
|
339
|
+
"microsoft.openapi.1.2.3.nupkg.sha512",
|
|
340
|
+
"microsoft.openapi.nuspec"
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"Swashbuckle.AspNetCore/6.4.0": {
|
|
344
|
+
"sha512": "eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==",
|
|
345
|
+
"type": "package",
|
|
346
|
+
"path": "swashbuckle.aspnetcore/6.4.0",
|
|
347
|
+
"files": [
|
|
348
|
+
".nupkg.metadata",
|
|
349
|
+
".signature.p7s",
|
|
350
|
+
"build/Swashbuckle.AspNetCore.props",
|
|
351
|
+
"swashbuckle.aspnetcore.6.4.0.nupkg.sha512",
|
|
352
|
+
"swashbuckle.aspnetcore.nuspec"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
|
|
356
|
+
"sha512": "nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==",
|
|
357
|
+
"type": "package",
|
|
358
|
+
"path": "swashbuckle.aspnetcore.swagger/6.4.0",
|
|
359
|
+
"files": [
|
|
360
|
+
".nupkg.metadata",
|
|
361
|
+
".signature.p7s",
|
|
362
|
+
"lib/net5.0/Swashbuckle.AspNetCore.Swagger.dll",
|
|
363
|
+
"lib/net5.0/Swashbuckle.AspNetCore.Swagger.pdb",
|
|
364
|
+
"lib/net5.0/Swashbuckle.AspNetCore.Swagger.xml",
|
|
365
|
+
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll",
|
|
366
|
+
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.pdb",
|
|
367
|
+
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.xml",
|
|
368
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll",
|
|
369
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.pdb",
|
|
370
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.xml",
|
|
371
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.dll",
|
|
372
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.pdb",
|
|
373
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.xml",
|
|
374
|
+
"swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512",
|
|
375
|
+
"swashbuckle.aspnetcore.swagger.nuspec"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
|
|
379
|
+
"sha512": "lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==",
|
|
380
|
+
"type": "package",
|
|
381
|
+
"path": "swashbuckle.aspnetcore.swaggergen/6.4.0",
|
|
382
|
+
"files": [
|
|
383
|
+
".nupkg.metadata",
|
|
384
|
+
".signature.p7s",
|
|
385
|
+
"lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.dll",
|
|
386
|
+
"lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.pdb",
|
|
387
|
+
"lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.xml",
|
|
388
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll",
|
|
389
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.pdb",
|
|
390
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.xml",
|
|
391
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll",
|
|
392
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.pdb",
|
|
393
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.xml",
|
|
394
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.dll",
|
|
395
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.pdb",
|
|
396
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.xml",
|
|
397
|
+
"swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512",
|
|
398
|
+
"swashbuckle.aspnetcore.swaggergen.nuspec"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
|
|
402
|
+
"sha512": "1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==",
|
|
403
|
+
"type": "package",
|
|
404
|
+
"path": "swashbuckle.aspnetcore.swaggerui/6.4.0",
|
|
405
|
+
"files": [
|
|
406
|
+
".nupkg.metadata",
|
|
407
|
+
".signature.p7s",
|
|
408
|
+
"lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.dll",
|
|
409
|
+
"lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.pdb",
|
|
410
|
+
"lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.xml",
|
|
411
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll",
|
|
412
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.pdb",
|
|
413
|
+
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.xml",
|
|
414
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll",
|
|
415
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.pdb",
|
|
416
|
+
"lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.xml",
|
|
417
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.dll",
|
|
418
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.pdb",
|
|
419
|
+
"lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.xml",
|
|
420
|
+
"swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512",
|
|
421
|
+
"swashbuckle.aspnetcore.swaggerui.nuspec"
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"projectFileDependencyGroups": {
|
|
426
|
+
"net8.0": [
|
|
427
|
+
"Swashbuckle.AspNetCore >= 6.4.0"
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
"packageFolders": {
|
|
431
|
+
"C:\\Users\\Truong\\.nuget\\packages\\": {}
|
|
432
|
+
},
|
|
433
|
+
"project": {
|
|
434
|
+
"version": "1.0.0",
|
|
435
|
+
"restore": {
|
|
436
|
+
"projectUniqueName": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\Blueprint.API.csproj",
|
|
437
|
+
"projectName": "Blueprint.API",
|
|
438
|
+
"projectPath": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\Blueprint.API.csproj",
|
|
439
|
+
"packagesPath": "C:\\Users\\Truong\\.nuget\\packages\\",
|
|
440
|
+
"outputPath": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\obj\\",
|
|
441
|
+
"projectStyle": "PackageReference",
|
|
442
|
+
"configFilePaths": [
|
|
443
|
+
"C:\\Users\\Truong\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
|
444
|
+
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
|
445
|
+
],
|
|
446
|
+
"originalTargetFrameworks": [
|
|
447
|
+
"net8.0"
|
|
448
|
+
],
|
|
449
|
+
"sources": {
|
|
450
|
+
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
|
451
|
+
"C:\\Program Files\\dotnet\\library-packs": {},
|
|
452
|
+
"https://api.nuget.org/v3/index.json": {}
|
|
453
|
+
},
|
|
454
|
+
"frameworks": {
|
|
455
|
+
"net8.0": {
|
|
456
|
+
"targetAlias": "net8.0",
|
|
457
|
+
"projectReferences": {}
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"warningProperties": {
|
|
461
|
+
"warnAsError": [
|
|
462
|
+
"NU1605"
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
"restoreAuditProperties": {
|
|
466
|
+
"enableAudit": "true",
|
|
467
|
+
"auditLevel": "low",
|
|
468
|
+
"auditMode": "direct"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"frameworks": {
|
|
472
|
+
"net8.0": {
|
|
473
|
+
"targetAlias": "net8.0",
|
|
474
|
+
"dependencies": {
|
|
475
|
+
"Swashbuckle.AspNetCore": {
|
|
476
|
+
"target": "Package",
|
|
477
|
+
"version": "[6.4.0, )"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"imports": [
|
|
481
|
+
"net461",
|
|
482
|
+
"net462",
|
|
483
|
+
"net47",
|
|
484
|
+
"net471",
|
|
485
|
+
"net472",
|
|
486
|
+
"net48",
|
|
487
|
+
"net481"
|
|
488
|
+
],
|
|
489
|
+
"assetTargetFallback": true,
|
|
490
|
+
"warn": true,
|
|
491
|
+
"frameworkReferences": {
|
|
492
|
+
"Microsoft.AspNetCore.App": {
|
|
493
|
+
"privateAssets": "none"
|
|
494
|
+
},
|
|
495
|
+
"Microsoft.NETCore.App": {
|
|
496
|
+
"privateAssets": "all"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.302/PortableRuntimeIdentifierGraph.json"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 2,
|
|
3
|
+
"dgSpecHash": "52NggQBke30=",
|
|
4
|
+
"success": true,
|
|
5
|
+
"projectFilePath": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.API\\Blueprint.API.csproj",
|
|
6
|
+
"expectedPackageFiles": [
|
|
7
|
+
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.apidescription.server\\6.0.5\\microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512",
|
|
8
|
+
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",
|
|
9
|
+
"C:\\Users\\Truong\\.nuget\\packages\\swashbuckle.aspnetcore\\6.4.0\\swashbuckle.aspnetcore.6.4.0.nupkg.sha512",
|
|
10
|
+
"C:\\Users\\Truong\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.4.0\\swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512",
|
|
11
|
+
"C:\\Users\\Truong\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.4.0\\swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512",
|
|
12
|
+
"C:\\Users\\Truong\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.4.0\\swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512"
|
|
13
|
+
],
|
|
14
|
+
"logs": []
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
3
|
+
# Visual Studio Version 17
|
|
4
|
+
VisualStudioVersion = 17.10.35013.160
|
|
5
|
+
MinimumVisualStudioVersion = 10.0.40219.1
|
|
6
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Blueprint.API", "Blueprint.API\Blueprint.API.csproj", "{69D89003-25CF-4E3A-9BEF-78F9247B24E1}"
|
|
7
|
+
EndProject
|
|
8
|
+
Global
|
|
9
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
10
|
+
Debug|Any CPU = Debug|Any CPU
|
|
11
|
+
Release|Any CPU = Release|Any CPU
|
|
12
|
+
EndGlobalSection
|
|
13
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
14
|
+
{69D89003-25CF-4E3A-9BEF-78F9247B24E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
15
|
+
{69D89003-25CF-4E3A-9BEF-78F9247B24E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
16
|
+
{69D89003-25CF-4E3A-9BEF-78F9247B24E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
17
|
+
{69D89003-25CF-4E3A-9BEF-78F9247B24E1}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
18
|
+
EndGlobalSection
|
|
19
|
+
GlobalSection(SolutionProperties) = preSolution
|
|
20
|
+
HideSolutionNode = FALSE
|
|
21
|
+
EndGlobalSection
|
|
22
|
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
|
23
|
+
SolutionGuid = {57FA2C18-6D77-434E-8FF6-DF1DDEE44F71}
|
|
24
|
+
EndGlobalSection
|
|
25
|
+
EndGlobal
|
package/index.js
CHANGED
|
@@ -8,32 +8,41 @@ if (!projectName) {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
const destinationPath = path.join(process.cwd(), projectName);
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
function
|
|
14
|
-
fs.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if (entry.isDirectory()) {
|
|
22
|
-
copyFolder(srcPath, destPath);
|
|
23
|
-
} else {
|
|
24
|
-
fs.copyFileSync(srcPath, destPath);
|
|
11
|
+
const templateItems = ["Blueprint.API.sln", "Blueprint.API", ".gitignore"];
|
|
12
|
+
|
|
13
|
+
function copyItem(src, dest) {
|
|
14
|
+
if (fs.lstatSync(src).isDirectory()) {
|
|
15
|
+
fs.mkdirSync(dest, { recursive: true });
|
|
16
|
+
const entries = fs.readdirSync(src, { withFileTypes: true });
|
|
17
|
+
for (let entry of entries) {
|
|
18
|
+
const srcPath = path.join(src, entry.name);
|
|
19
|
+
const destPath = path.join(dest, entry.name);
|
|
20
|
+
copyItem(srcPath, destPath);
|
|
25
21
|
}
|
|
22
|
+
} else {
|
|
23
|
+
fs.copyFileSync(src, dest);
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
26
|
|
|
27
|
+
// Check if the destination path already exists
|
|
28
|
+
if (fs.existsSync(destinationPath)) {
|
|
29
|
+
console.error(`Project directory "${projectName}" already exists.`);
|
|
30
|
+
process.exit(1);
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
// Create the destination directory
|
|
30
34
|
fs.mkdirSync(destinationPath, { recursive: true });
|
|
31
35
|
|
|
32
|
-
// Copy each template
|
|
33
|
-
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
|
|
36
|
+
// Copy each template item into the new project directory
|
|
37
|
+
templateItems.forEach(item => {
|
|
38
|
+
const srcPath = path.join(__dirname, item);
|
|
39
|
+
const destPath = path.join(destinationPath, item);
|
|
40
|
+
|
|
41
|
+
if (fs.existsSync(srcPath)) { // Check if the source item exists
|
|
42
|
+
copyItem(srcPath, destPath);
|
|
43
|
+
} else {
|
|
44
|
+
console.warn(`Source item "${srcPath}" does not exist and will be skipped.`);
|
|
45
|
+
}
|
|
37
46
|
});
|
|
38
47
|
|
|
39
|
-
console.log(`Project ${projectName} created at ${destinationPath}`);
|
|
48
|
+
console.log(`Project "${projectName}" created at ${destinationPath}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netcore-blueprint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"index.js",
|
|
17
|
-
|
|
17
|
+
"Blueprint.API.sln",
|
|
18
|
+
"Blueprint.API",
|
|
18
19
|
".gitignore"
|
|
19
20
|
]
|
|
20
21
|
}
|