Skip to content

Commit 859c693

Browse files
authored
Link to gRPC JSON transcoding getting started instructions (#34772)
1 parent 282acb1 commit 859c693

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aspnetcore/grpc/json-transcoding-openapi.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ By [James Newton-King](https://twitter.com/jamesnk)
2222

2323
To enable OpenAPI with gRPC JSON transcoding:
2424

25-
1. Add a package reference to [`Microsoft.AspNetCore.Grpc.Swagger`](https://www.nuget.org/packages/Microsoft.AspNetCore.Grpc.Swagger). The version must be 0.3.0-xxx or later.
26-
2. Configure Swashbuckle in startup. The `AddGrpcSwagger` method configures Swashbuckle to include gRPC endpoints.
25+
1. Setup gRPC JSON transcoding by following the [getting started instructions](xref:grpc/json-transcoding#usage).
26+
2. Add a package reference to [`Microsoft.AspNetCore.Grpc.Swagger`](https://www.nuget.org/packages/Microsoft.AspNetCore.Grpc.Swagger). The version must be 0.3.0-xxx or later.
27+
3. Configure Swashbuckle in startup. The `AddGrpcSwagger` method configures Swashbuckle to include gRPC endpoints.
2728

2829
[!code-csharp[](~/grpc/json-transcoding-openapi/Program.cs?name=snippet_1&highlight=3-8,11-16)]
2930

0 commit comments

Comments
 (0)