Skip to content

Commit 0e7646d

Browse files
authored
README update (#62)
1 parent a27eeb0 commit 0e7646d

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Currently, only basic rules are supported and the regex dialect is not translate
1717
Add to your project:
1818

1919
```xml
20-
<PackageReference Include="AzureFunctionsOpenApiFluentValidationExtensions.DependencyInjection" Version="0.1.19" />
20+
<PackageReference Include="AzureFunctionsOpenApiFluentValidationExtensions.DependencyInjection" Version="1.0.0" />
2121
```
2222

2323
Add to your OpenApi configuration:
@@ -31,7 +31,7 @@ DocumentFilters.AddAzureFunctionsOpenApiFluentValidationExtensions<Startup>();
3131
Add to your project:
3232

3333
```xml
34-
<PackageReference Include="AzureFunctionsOpenApiFluentValidationExtensions.DependencyInjection" Version="0.1.19" />
34+
<PackageReference Include="AzureFunctionsOpenApiFluentValidationExtensions.DependencyInjection" Version="1.0.0" />
3535
```
3636

3737
In your custom object to define the OpenApi configuration, use `AddAzureFunctionsOpenApiFluentValidationExtensions` on the `DocumentFilters` property.
@@ -70,7 +70,7 @@ public class OpenApiConfigurationOptions : DefaultOpenApiConfigurationOptions
7070
Add to your project:
7171

7272
```xml
73-
<PackageReference Include="AzureFunctionsOpenApiFluentValidationExtensions" Version="0.1.19" />
73+
<PackageReference Include="AzureFunctionsOpenApiFluentValidationExtensions" Version="1.0.0" />
7474
```
7575

7676
If you are not using DI in Azure Functions or using static Functions, you would need to manually register all the validators you are using.

src/Directory.Build.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@
88
<PackageTags>Azure;Functions;OpenApi;FluentValidation</PackageTags>
99
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1010
<PackageIcon>icon.png</PackageIcon>
11+
<PackageReadmeFile>README.md</PackageReadmeFile>
1112
<PackageProjectUrl>https://github.com/NewDayTechnology/AzureFunctionsOpenApiFluentValidationExtensions</PackageProjectUrl>
1213
<PackageReleaseNotes>https://github.com/NewDayTechnology/AzureFunctionsOpenApiFluentValidationExtensions/releases</PackageReleaseNotes>
1314
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1415
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>
1516
</PropertyGroup>
1617

1718
<ItemGroup>
18-
<None Include="..\..\icon.png" Pack="true" PackagePath=""/>
19+
<None Include="..\..\icon.png" Pack="true" PackagePath="\"/>
20+
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
1921
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1" PrivateAssets="All"/>
2022
</ItemGroup>
2123

0 commit comments

Comments
 (0)