You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can describe your API with an OpenAPI specification using the [Swashbuckle](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) integration for JsonApiDotNetCore.
4
+
5
+
## Installation
6
+
7
+
Install the `JsonApiDotnetCore.OpenApi` NuGet package.
8
+
9
+
### CLI
10
+
11
+
```
12
+
dotnet add package JsonApiDotnetCore.OpenApi
13
+
```
14
+
15
+
### Visual Studio
16
+
17
+
```powershell
18
+
Install-Package JsonApiDotnetCore.OpenApi
19
+
```
20
+
21
+
### *.csproj
22
+
23
+
```xml
24
+
<ItemGroup>
25
+
<!-- Be sure to check NuGet for the latest version # -->
By default, the OpenAPI specification will be available at `http://localhost:<port>/swagger/v1/swagger.json`.
60
+
61
+
Swashbuckle also ships with [SwaggerUI](https://swagger.io/tools/swagger-ui/), tooling for a generated documentation page. This can be enabled by adding the following to your `Startup` class.
0 commit comments