Skip to content

Commit 30cfded

Browse files
committed
Merge branch 'develop'
2 parents 4d75094 + 5e5221f commit 30cfded

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

examples/MCP/Client/Client.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5+
<IsPackable>false</IsPackable>
56
<TargetFramework>net9.0</TargetFramework>
67
</PropertyGroup>
78

examples/MCP/Server/Server.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5+
<IsPackable>false</IsPackable>
56
<TargetFramework>net9.0</TargetFramework>
67
</PropertyGroup>
78

src/Oxpecker.OpenApi/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ render_with_liquid: false
44
# Oxpecker.OpenApi
55

66
`Oxpecker.OpenApi` extends `Oxpecker` framework with functionality to automatically generate OpenApi spec from code.
7+
It works on top of `Microsoft.AspNetCore.OpenApi` package.
78

89
[Nuget package](https://www.nuget.org/packages/Oxpecker.OpenApi) `dotnet add package Oxpecker.OpenApi`
910

@@ -43,9 +44,11 @@ _Note: you MUST specify HTTP method (GET, POST etc.), because routes with ANY me
4344

4445
## Configuration
4546

46-
### ASP.NET Core 8
47+
### Option 1 (for ASP.NET Core 8+)
4748

48-
Since `Oxpecker.OpenApi` works on top of `Microsoft.AspNetCore.OpenApi` and `Swashbuckle.AspNetCore` packages, you need to do [standard steps](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/openapi):
49+
* Install `Microsoft.AspNetCore.OpenApi` package
50+
* Install `Swashbuckle.AspNetCore` package
51+
* Do [standard steps](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-8.0):
4952

5053
```fsharp
5154
@@ -76,9 +79,10 @@ let main args =
7679
0
7780
```
7881

79-
### ASP.NET Core 9
82+
### Option 2 (for ASP.NET Core 9+)
8083

81-
Since `Oxpecker.OpenApi` works on top of `Microsoft.AspNetCore.OpenApi` packages, you need to do [standard steps](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/openapi):
84+
* Install `Microsoft.AspNetCore.OpenApi` package
85+
* Follow [standard steps](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/overview):
8286

8387
```fsharp
8488

0 commit comments

Comments
 (0)