Skip to content

Commit

Permalink
Fixed doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanayx committed Nov 27, 2024
1 parent 61d0910 commit 310eb73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Oxpecker/Oxpecker.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>1.1.0</Version>
<PackageVersion>1.1.0</PackageVersion>
<Version>1.1.1</Version>
<PackageVersion>1.1.1</PackageVersion>
<PackageReleaseNotes>Oxpecker.ModelValidation module added</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Oxpecker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,9 @@ let addCar : EndpointHandler =
fun (ctx: HttpContext) ->
task {
match! ctx.BindAndValidateJson<Car>() with
| ValidationResult.Valid car ->
| ModelValidationResult.Valid car ->
return! ctx.Write <| Ok car
| ValidationResult.Invalid (invalidCar, errors) ->
| ModelValidationResult.Invalid (invalidCar, errors) ->
return! ctx.Write <| BadRequest errors.All
}
```
Expand Down

0 comments on commit 310eb73

Please sign in to comment.