/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/OpenApi/sample/Sample.csproj
94 строки
5 KB
Korolev Dmitry
ApiExplorer and OpenAPI unions support (#67001)
10 июн 2026, 15:04
Не верифицирован
10 июн 2026, 15:04
bd9f3b7
Код
Авторство
О чём код?
<Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <!-- Required to generated trimmable Map-invocations. --> <EnableRequestDelegateGenerator>true</EnableRequestDelegateGenerator> <IsAotCompatible>true</IsAotCompatible> <GenerateDocumentationFile>true</GenerateDocumentationFile> <InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.OpenApi.Generated</InterceptorsNamespaces> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> </PropertyGroup> <ItemGroup> <Reference Include="Microsoft.AspNetCore" /> <Reference Include="Microsoft.AspNetCore.Antiforgery" /> <Reference Include="Microsoft.AspNetCore.Authentication" /> <Reference Include="Microsoft.AspNetCore.Authentication.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Authentication.Core" /> <Reference Include="Microsoft.AspNetCore.Authentication.JwtBearer" /> <Reference Include="Microsoft.AspNetCore.Authorization" /> <Reference Include="Microsoft.AspNetCore.Authorization.Policy" /> <Reference Include="Microsoft.AspNetCore.Components.Endpoints" /> <Reference Include="Microsoft.AspNetCore.Cors" /> <Reference Include="Microsoft.AspNetCore.Diagnostics" /> <Reference Include="Microsoft.AspNetCore.Diagnostics.Abstractions" /> <Reference Include="Microsoft.AspNetCore.HostFiltering" /> <Reference Include="Microsoft.AspNetCore.Hosting" /> <Reference Include="Microsoft.AspNetCore.Hosting.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Hosting.Server.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Html.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Http" /> <Reference Include="Microsoft.AspNetCore.Http.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Http.Extensions" /> <Reference Include="Microsoft.AspNetCore.Http.Features" /> <Reference Include="Microsoft.AspNetCore.Http.Results" /> <Reference Include="Microsoft.AspNetCore.HttpOverrides" /> <Reference Include="Microsoft.AspNetCore.JsonPatch.SystemTextJson" /> <Reference Include="Microsoft.AspNetCore.Localization" /> <Reference Include="Microsoft.AspNetCore.Mvc" /> <Reference Include="Microsoft.AspNetCore.Mvc.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Mvc.ApiExplorer" /> <Reference Include="Microsoft.AspNetCore.Mvc.Core" /> <Reference Include="Microsoft.AspNetCore.Mvc.Cors" /> <Reference Include="Microsoft.AspNetCore.Mvc.DataAnnotations" /> <Reference Include="Microsoft.AspNetCore.Mvc.Formatters.Json" /> <Reference Include="Microsoft.AspNetCore.Mvc.Localization" /> <Reference Include="Microsoft.AspNetCore.Mvc.Razor" /> <Reference Include="Microsoft.AspNetCore.Mvc.RazorPages" /> <Reference Include="Microsoft.AspNetCore.Mvc.TagHelpers" /> <Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" /> <Reference Include="Microsoft.AspNetCore.OpenApi" /> <Reference Include="Microsoft.AspNetCore.OutputCaching" /> <Reference Include="Microsoft.AspNetCore.Razor" /> <Reference Include="Microsoft.AspNetCore.Razor.Runtime" /> <Reference Include="Microsoft.AspNetCore.ResponseCaching.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Routing" /> <Reference Include="Microsoft.AspNetCore.Routing.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Server.HttpSys" /> <Reference Include="Microsoft.AspNetCore.Server.IIS" /> <Reference Include="Microsoft.AspNetCore.Server.IISIntegration" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Core" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Quic" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" /> <Reference Include="Microsoft.AspNetCore.StaticAssets" /> <Reference Include="Microsoft.AspNetCore.StaticFiles" /> <Reference Include="Microsoft.Extensions.FileProviders.Embedded" /> <Reference Include="Microsoft.Extensions.Hosting" /> </ItemGroup> <ItemGroup> <Compile Include="../test/Microsoft.AspNetCore.OpenApi.Tests/Shared/SharedTypes.cs" /> <Compile Include="../test/Microsoft.AspNetCore.OpenApi.Tests/Shared/SharedTypes.Polymorphism.cs" /> <Compile Include="../test/Microsoft.AspNetCore.OpenApi.Tests/Shared/SharedTypes.Unions.cs" /> </ItemGroup> <!-- Required to generated trimmable Map-invocations. --> <ItemGroup> <ProjectReference Include="$(RepoRoot)/src/Http/Http.Extensions/gen/Microsoft.AspNetCore.Http.RequestDelegateGenerator/Microsoft.AspNetCore.Http.RequestDelegateGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> </ItemGroup> <!-- Required to process XML documentation. --> <ItemGroup> <ProjectReference Include="../gen/Microsoft.AspNetCore.OpenApi.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> </ItemGroup> <ItemGroup> <Using Include="Microsoft.OpenApi" /> </ItemGroup> </Project>