add folder api and work with 2.1 ex

This commit is contained in:
EgorGud
2026-10-14 12:09:30 +03:00
parent 0af0e1cee2
commit 019af97404
49 changed files with 709 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PokedexApi", "PokedexApi\PokedexApi.csproj", "{8DA877A9-93BB-4CE8-9EE5-807822C65FDB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8DA877A9-93BB-4CE8-9EE5-807822C65FDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8DA877A9-93BB-4CE8-9EE5-807822C65FDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8DA877A9-93BB-4CE8-9EE5-807822C65FDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8DA877A9-93BB-4CE8-9EE5-807822C65FDB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.11"/>
</ItemGroup>
</Project>
@@ -0,0 +1,6 @@
@PokedexApi_HostAddress = http://localhost:5166
GET {{PokedexApi_HostAddress}}/weatherforecast/
Accept: application/json
###
+49
View File
@@ -0,0 +1,49 @@
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOpenApi();
var app = builder.Build();
var pokemons = new List<Pokemon>
{
new(1, "Pikachu", "Electric", 12),
new(2, "Charmander", "Fire", 8),
new(3, "Squirtle", "Water", 10)
};
if (app.Environment.IsDevelopment())
{
app.MapOpenApi();
}
app.MapGet("/hello", () => "Привет, мир API!");
app.MapGet("/pokemons/{id}", (int id) =>
{
var pokemon = pokemons.FirstOrDefault(p => p.Id == id);
if (pokemon == null)
{
return Results.NotFound();
}
else
{
return Results.Ok(pokemon);
}
});
app.Run();
public record Pokemon(
int Id,
string Name,
string Type,
int Level
);
public record PokemonInput(
string Name,
string Type,
int Level
);
@@ -0,0 +1,23 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": false,
"applicationUrl": "http://localhost:5166",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": false,
"applicationUrl": "https://localhost:7279;http://localhost:5166",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}
@@ -0,0 +1,59 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v10.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v10.0": {
"PokedexApi/1.0.0": {
"dependencies": {
"Microsoft.AspNetCore.OpenApi": "10.0.11"
},
"runtime": {
"PokedexApi.dll": {}
}
},
"Microsoft.AspNetCore.OpenApi/10.0.11": {
"dependencies": {
"Microsoft.OpenApi": "2.7.5"
},
"runtime": {
"lib/net10.0/Microsoft.AspNetCore.OpenApi.dll": {
"assemblyVersion": "10.0.11.0",
"fileVersion": "10.0.1126.37416"
}
}
},
"Microsoft.OpenApi/2.7.5": {
"runtime": {
"lib/net8.0/Microsoft.OpenApi.dll": {
"assemblyVersion": "2.7.5.0",
"fileVersion": "2.7.5.0"
}
}
}
}
},
"libraries": {
"PokedexApi/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.AspNetCore.OpenApi/10.0.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-R/1EATnPLU+gRfB6lwVkMcymmyAY5ppBBdRN/5lhNEiT3xP1sWccuSFkU/f1lQvN/WgRq5Vn8AhCdE3fqgsL/w==",
"path": "microsoft.aspnetcore.openapi/10.0.11",
"hashPath": "microsoft.aspnetcore.openapi.10.0.11.nupkg.sha512"
},
"Microsoft.OpenApi/2.7.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0FA67RSnRM4tcBKqiqVu/HPdZ9+QOKbmeRjxRUGTCjPU4C0bmUhd97Dso7Yild5P7nOV6GxJ2xrK0Kv/O9xp0w==",
"path": "microsoft.openapi/2.7.5",
"hashPath": "microsoft.openapi.2.7.5.nupkg.sha512"
}
}
}
@@ -0,0 +1,19 @@
{
"runtimeOptions": {
"tfm": "net10.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "10.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "10.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -0,0 +1 @@
{"Version":1,"ManifestType":"Build","Endpoints":[]}
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")]
@@ -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("PokedexApi")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0af0e1cee273142b8bcbaff3b8748ad86680471f")]
[assembly: System.Reflection.AssemblyProductAttribute("PokedexApi")]
[assembly: System.Reflection.AssemblyTitleAttribute("PokedexApi")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
@@ -0,0 +1 @@
e0064801eab0d031f8a992b778aaeeafbda74da28975ec83c9d5301d62e7ff17
@@ -0,0 +1,24 @@
is_global = true
build_property.TargetFramework = net10.0
build_property.TargetFrameworkIdentifier = .NETCoreApp
build_property.TargetFrameworkVersion = v10.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = true
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property.EntryPointFilePath =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = PokedexApi
build_property.RootNamespace = PokedexApi
build_property.ProjectDir = Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 10.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi
build_property._RazorSourceGeneratorDebug =
build_property.EffectiveAnalysisLevelStyle = 10.0
build_property.EnableCodeStyleSeverity =
@@ -0,0 +1,17 @@
// <auto-generated/>
global using Microsoft.AspNetCore.Builder;
global using Microsoft.AspNetCore.Hosting;
global using Microsoft.AspNetCore.Http;
global using Microsoft.AspNetCore.Routing;
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Hosting;
global using Microsoft.Extensions.Logging;
global using System;
global using System.Collections.Generic;
global using System.IO;
global using System.Linq;
global using System.Net.Http;
global using System.Net.Http.Json;
global using System.Threading;
global using System.Threading.Tasks;
@@ -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("Microsoft.AspNetCore.OpenApi")]
// Generated by the MSBuild WriteCodeFragment class.
@@ -0,0 +1 @@
05a83e88ca6daf6c3d4c4144387008692e675f71dfbb607c49cb881dae03cfaf
@@ -0,0 +1,33 @@
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\appsettings.Development.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\appsettings.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\PokedexApi.staticwebassets.endpoints.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\PokedexApi.exe
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\PokedexApi.deps.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\PokedexApi.runtimeconfig.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\PokedexApi.dll
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\PokedexApi.pdb
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\Microsoft.AspNetCore.OpenApi.dll
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\bin\Debug\net10.0\Microsoft.OpenApi.dll
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.csproj.AssemblyReference.cache
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\rpswa.dswa.cache.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.GeneratedMSBuildEditorConfig.editorconfig
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.AssemblyInfoInputs.cache
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.AssemblyInfo.cs
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.csproj.CoreCompileInputs.cache
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.MvcApplicationPartsAssemblyInfo.cs
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.MvcApplicationPartsAssemblyInfo.cache
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\rjimswa.dswa.cache.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\rjsmrazor.dswa.cache.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\rjsmcshtml.dswa.cache.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\scopedcss\bundle\PokedexApi.styles.css
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\staticwebassets.build.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\staticwebassets.build.json.cache
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\staticwebassets.development.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\staticwebassets.build.endpoints.json
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\swae.build.ex.cache
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.csproj.Up2Date
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.dll
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\refint\PokedexApi.dll
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.pdb
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\PokedexApi.genruntimeconfig.cache
Z:\prog-Kazakov\base-api\PokedexApi\PokedexApi\obj\Debug\net10.0\ref\PokedexApi.dll
@@ -0,0 +1 @@
dc8782e5dea387f5e466e54777c11c80bc5c13ff75c917f1d7b9d02ea92592f1
@@ -0,0 +1 @@
{"GlobalPropertiesHash":"kc6NYJrPORolcCPd2mN0q6mRFUA1rgXEvpfRyupXV88=","FingerprintPatternsHash":"gq3WsqcKBUGTSNle7RKKyXRIwh7M8ccEqOqYvIzoM04=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["kZI2Zhj3/z6Ytun3GUjSv15zg6IVONEu6TJIi1t1adw=","JISj1ixGTqiypEIaO4Ave9vp192QEEx9\u002B0mG\u002Bp5Wavw=","ub4jnxqgoSPy8ZpJPAr5ysyYUlVrh8o/GvqPy1G4m9o=","X6eVcT1VuXojCAhGiutLqDWv4ruYF3EjVqxJeiRdF0c=","\u002BmDnLl/a/GgAzvcbEMVCqT4AfXKf457QNXc4tfUEsBo="],"CachedAssets":{},"CachedCopyCandidates":{}}
@@ -0,0 +1 @@
{"GlobalPropertiesHash":"VKTLQelRUSob8sT0QpSjxwy/GE5x1wxlN7kcCRJ2404=","FingerprintPatternsHash":"gq3WsqcKBUGTSNle7RKKyXRIwh7M8ccEqOqYvIzoM04=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["kZI2Zhj3/z6Ytun3GUjSv15zg6IVONEu6TJIi1t1adw=","JISj1ixGTqiypEIaO4Ave9vp192QEEx9\u002B0mG\u002Bp5Wavw=","ub4jnxqgoSPy8ZpJPAr5ysyYUlVrh8o/GvqPy1G4m9o=","X6eVcT1VuXojCAhGiutLqDWv4ruYF3EjVqxJeiRdF0c=","\u002BmDnLl/a/GgAzvcbEMVCqT4AfXKf457QNXc4tfUEsBo="],"CachedAssets":{},"CachedCopyCandidates":{}}
@@ -0,0 +1 @@
{"GlobalPropertiesHash":"umWWZooIccWvrt6RancuQ7E/76gPrO0WTJJrgF6D0L0=","FingerprintPatternsHash":"gq3WsqcKBUGTSNle7RKKyXRIwh7M8ccEqOqYvIzoM04=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["kZI2Zhj3/z6Ytun3GUjSv15zg6IVONEu6TJIi1t1adw=","JISj1ixGTqiypEIaO4Ave9vp192QEEx9\u002B0mG\u002Bp5Wavw="],"CachedAssets":{},"CachedCopyCandidates":{}}
@@ -0,0 +1 @@
{"Version":1,"ManifestType":"Build","Endpoints":[]}
@@ -0,0 +1 @@
{"Version":1,"Hash":"4brwnuendb4d6nKGdhih0E0xPyQtEmfnJNNOWoB+jFs=","Source":"PokedexApi","BasePath":"/","Mode":"Root","ManifestType":"Build","ReferencedProjectsConfiguration":[],"DiscoveryPatterns":[],"Assets":[],"Endpoints":[]}
@@ -0,0 +1 @@
4brwnuendb4d6nKGdhih0E0xPyQtEmfnJNNOWoB+jFs=
@@ -0,0 +1,78 @@
{
"format": 1,
"restore": {
"Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\PokedexApi.csproj": {}
},
"projects": {
"Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\PokedexApi.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\PokedexApi.csproj",
"projectName": "PokedexApi",
"projectPath": "Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\PokedexApi.csproj",
"packagesPath": "C:\\Users\\228p\\.nuget\\packages\\",
"outputPath": "Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\228p\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"net10.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net10.0": {
"framework": "net10.0",
"targetAlias": "net10.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "10.0.400"
},
"frameworks": {
"net10.0": {
"framework": "net10.0",
"targetAlias": "net10.0",
"dependencies": {
"Microsoft.AspNetCore.OpenApi": {
"target": "Package",
"version": "[10.0.11, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}
@@ -0,0 +1,15 @@
<?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)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\228p\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\228p\.nuget\packages\" />
</ItemGroup>
</Project>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json\8.0.5\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\8.0.5\buildTransitive\net6.0\System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.openapi\10.0.11\build\Microsoft.AspNetCore.OpenApi.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.openapi\10.0.11\build\Microsoft.AspNetCore.OpenApi.targets')" />
</ImportGroup>
</Project>
@@ -0,0 +1,250 @@
{
"version": 4,
"targets": {
"net10.0": {
"Microsoft.AspNetCore.OpenApi/10.0.11": {
"type": "package",
"dependencies": {
"Microsoft.OpenApi": "[2.7.5, 3.0.0)"
},
"compile": {
"lib/net10.0/Microsoft.AspNetCore.OpenApi.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net10.0/Microsoft.AspNetCore.OpenApi.dll": {
"related": ".xml"
}
},
"frameworkReferences": [
"Microsoft.AspNetCore.App"
],
"build": {
"build/Microsoft.AspNetCore.OpenApi.targets": {}
}
},
"Microsoft.OpenApi/2.7.5": {
"type": "package",
"dependencies": {
"System.Text.Json": "8.0.5"
},
"compile": {
"lib/net8.0/Microsoft.OpenApi.dll": {
"related": ".pdb;.xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.OpenApi.dll": {
"related": ".pdb;.xml"
}
}
},
"System.Text.Json/8.0.5": {
"type": "package",
"compile": {
"lib/net8.0/System.Text.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/System.Text.Json.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/System.Text.Json.targets": {}
}
}
}
},
"libraries": {
"Microsoft.AspNetCore.OpenApi/10.0.11": {
"sha512": "R/1EATnPLU+gRfB6lwVkMcymmyAY5ppBBdRN/5lhNEiT3xP1sWccuSFkU/f1lQvN/WgRq5Vn8AhCdE3fqgsL/w==",
"type": "package",
"path": "microsoft.aspnetcore.openapi/10.0.11",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"analyzers/dotnet/cs/Microsoft.AspNetCore.OpenApi.SourceGenerators.dll",
"build/Microsoft.AspNetCore.OpenApi.targets",
"lib/net10.0/Microsoft.AspNetCore.OpenApi.dll",
"lib/net10.0/Microsoft.AspNetCore.OpenApi.xml",
"microsoft.aspnetcore.openapi.10.0.11.nupkg.sha512",
"microsoft.aspnetcore.openapi.nuspec"
]
},
"Microsoft.OpenApi/2.7.5": {
"sha512": "0FA67RSnRM4tcBKqiqVu/HPdZ9+QOKbmeRjxRUGTCjPU4C0bmUhd97Dso7Yild5P7nOV6GxJ2xrK0Kv/O9xp0w==",
"type": "package",
"path": "microsoft.openapi/2.7.5",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"lib/net8.0/Microsoft.OpenApi.dll",
"lib/net8.0/Microsoft.OpenApi.pdb",
"lib/net8.0/Microsoft.OpenApi.xml",
"lib/netstandard2.0/Microsoft.OpenApi.dll",
"lib/netstandard2.0/Microsoft.OpenApi.pdb",
"lib/netstandard2.0/Microsoft.OpenApi.xml",
"microsoft.openapi.2.7.5.nupkg.sha512",
"microsoft.openapi.nuspec"
]
},
"System.Text.Json/8.0.5": {
"sha512": "0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==",
"type": "package",
"path": "system.text.json/8.0.5",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"buildTransitive/net461/System.Text.Json.targets",
"buildTransitive/net462/System.Text.Json.targets",
"buildTransitive/net6.0/System.Text.Json.targets",
"buildTransitive/netcoreapp2.0/System.Text.Json.targets",
"buildTransitive/netstandard2.0/System.Text.Json.targets",
"lib/net462/System.Text.Json.dll",
"lib/net462/System.Text.Json.xml",
"lib/net6.0/System.Text.Json.dll",
"lib/net6.0/System.Text.Json.xml",
"lib/net7.0/System.Text.Json.dll",
"lib/net7.0/System.Text.Json.xml",
"lib/net8.0/System.Text.Json.dll",
"lib/net8.0/System.Text.Json.xml",
"lib/netstandard2.0/System.Text.Json.dll",
"lib/netstandard2.0/System.Text.Json.xml",
"system.text.json.8.0.5.nupkg.sha512",
"system.text.json.nuspec",
"useSharedDesignerContext.txt"
]
}
},
"projectFileDependencyGroups": {
"net10.0": [
"Microsoft.AspNetCore.OpenApi >= 10.0.11"
]
},
"packageFolders": {
"C:\\Users\\228p\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\PokedexApi.csproj",
"projectName": "PokedexApi",
"projectPath": "Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\PokedexApi.csproj",
"packagesPath": "C:\\Users\\228p\\.nuget\\packages\\",
"outputPath": "Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\228p\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"net10.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net10.0": {
"framework": "net10.0",
"targetAlias": "net10.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "10.0.400"
},
"frameworks": {
"net10.0": {
"framework": "net10.0",
"targetAlias": "net10.0",
"dependencies": {
"Microsoft.AspNetCore.OpenApi": {
"target": "Package",
"version": "[10.0.11, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json"
}
}
}
}
@@ -0,0 +1,12 @@
{
"version": 2,
"dgSpecHash": "gfjcS5W0Z6Y=",
"success": true,
"projectFilePath": "Z:\\prog-Kazakov\\base-api\\PokedexApi\\PokedexApi\\PokedexApi.csproj",
"expectedPackageFiles": [
"C:\\Users\\228p\\.nuget\\packages\\microsoft.aspnetcore.openapi\\10.0.11\\microsoft.aspnetcore.openapi.10.0.11.nupkg.sha512",
"C:\\Users\\228p\\.nuget\\packages\\microsoft.openapi\\2.7.5\\microsoft.openapi.2.7.5.nupkg.sha512",
"C:\\Users\\228p\\.nuget\\packages\\system.text.json\\8.0.5\\system.text.json.8.0.5.nupkg.sha512"
],
"logs": []
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
17919669173609299