From a9fa30348768b29c6d907ca6f557f1b9706ecd59 Mon Sep 17 00:00:00 2001 From: Andi Date: Tue, 20 Dec 2022 23:06:17 +0100 Subject: [PATCH] Fixed documentation for fetch from rest (#5589) --- .../docs/hotchocolate/v12/fetching-data/fetching-from-rest.md | 2 +- .../docs/hotchocolate/v13/fetching-data/fetching-from-rest.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/docs/hotchocolate/v12/fetching-data/fetching-from-rest.md b/website/src/docs/hotchocolate/v12/fetching-data/fetching-from-rest.md index 2d54a1fdbf2..e7ae5c24b80 100644 --- a/website/src/docs/hotchocolate/v12/fetching-data/fetching-from-rest.md +++ b/website/src/docs/hotchocolate/v12/fetching-data/fetching-from-rest.md @@ -22,7 +22,7 @@ If you do not have an OpenAPI specification for your REST endpoint yet, you can There are two major OpenAPI implementations in dotnet: [NSwag](http://nswag.org) and [Swashbuckle](https://github.com/domaindrivendev/Swashbuckle.AspNetCore). Head over to the [official ASP.NET Core](https://docs.microsoft.com/aspnet/core/tutorials/web-api-help-pages-using-swagger) documentation to see how it is done. -In this example, we will use [the official example of Swashbuckle](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/tutorials/web-api-help-pages-using-swagger/samples/3.0/TodoApi.Swashbuckle). +In this example, we will use [the official example of Swashbuckle](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/getting-started-with-swashbuckle.md). When you start this project, you can navigate to the [Swagger UI](http://localhost:5000/swagger). This REST API covers a simple Todo app. diff --git a/website/src/docs/hotchocolate/v13/fetching-data/fetching-from-rest.md b/website/src/docs/hotchocolate/v13/fetching-data/fetching-from-rest.md index 2d54a1fdbf2..e7ae5c24b80 100644 --- a/website/src/docs/hotchocolate/v13/fetching-data/fetching-from-rest.md +++ b/website/src/docs/hotchocolate/v13/fetching-data/fetching-from-rest.md @@ -22,7 +22,7 @@ If you do not have an OpenAPI specification for your REST endpoint yet, you can There are two major OpenAPI implementations in dotnet: [NSwag](http://nswag.org) and [Swashbuckle](https://github.com/domaindrivendev/Swashbuckle.AspNetCore). Head over to the [official ASP.NET Core](https://docs.microsoft.com/aspnet/core/tutorials/web-api-help-pages-using-swagger) documentation to see how it is done. -In this example, we will use [the official example of Swashbuckle](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/tutorials/web-api-help-pages-using-swagger/samples/3.0/TodoApi.Swashbuckle). +In this example, we will use [the official example of Swashbuckle](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/getting-started-with-swashbuckle.md). When you start this project, you can navigate to the [Swagger UI](http://localhost:5000/swagger). This REST API covers a simple Todo app.