Skip to content

Commit 79f79dc

Browse files
committed
add nuget specification in project file, add sourcelink
1 parent e715d2b commit 79f79dc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/JsonApiDotNetCore.OpenApi/JsonApiDotNetCore.OpenApi.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<VersionPrefix>4.2.0</VersionPrefix>
34
<TargetFramework>$(NetCoreAppVersion)</TargetFramework>
5+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6+
</PropertyGroup>
7+
8+
<PropertyGroup>
9+
<PackageTags>jsonapidotnetcore;jsonapi;json:api;dotnet;asp.net;openapi;swagger;swaggerui;swashbuckle</PackageTags>
10+
<Description>A Swashbuckle integration that enables you to describe a JsonApiDotNetCore API with an OpenAPI specification.</Description>
11+
<PackageProjectUrl>https://www.jsonapi.net/</PackageProjectUrl>
12+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
14+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
15+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
16+
<DebugType>embedded</DebugType>
417
</PropertyGroup>
518

619
<ItemGroup>
720
<ProjectReference Include="..\JsonApiDotNetCore\JsonApiDotNetCore.csproj" />
821
</ItemGroup>
922

1023
<ItemGroup>
24+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
25+
<PrivateAssets>all</PrivateAssets>
26+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
27+
</PackageReference>
1128
<PackageReference Include="Swashbuckle.AspNetCore" Version="$(SwashbuckleVersion)" />
1229
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="$(SwashbuckleVersion)" />
1330
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="$(SwashbuckleVersion)" />

0 commit comments

Comments
 (0)