From 172fafe6741d71837157a5019b955b3b1af1bd53 Mon Sep 17 00:00:00 2001 From: Richard Whitehouse Date: Sat, 17 Aug 2024 08:33:58 +0100 Subject: [PATCH] [Rust Server] Fix server-writing docs for rust-server (#19367) * Fix server-writing docs for rust-server Fix broken link in generated README for rust-server. * Update samples --------- Co-authored-by: Keith Wansbrough --- .../src/main/resources/rust-server/README.mustache | 2 +- .../server/petstore/rust-server/output/multipart-v3/README.md | 2 +- .../server/petstore/rust-server/output/no-example-v3/README.md | 2 +- samples/server/petstore/rust-server/output/openapi-v3/README.md | 2 +- samples/server/petstore/rust-server/output/ops-v3/README.md | 2 +- .../petstore-with-fake-endpoints-models-for-testing/README.md | 2 +- .../petstore/rust-server/output/ping-bearer-auth/README.md | 2 +- .../petstore/rust-server/output/rust-server-test/README.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/rust-server/README.mustache b/modules/openapi-generator/src/main/resources/rust-server/README.mustache index 7a87abc7363..396f597ebd3 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/README.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/README.mustache @@ -39,7 +39,7 @@ It also contains an example server and client which make use of `{{{packageName} arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples diff --git a/samples/server/petstore/rust-server/output/multipart-v3/README.md b/samples/server/petstore/rust-server/output/multipart-v3/README.md index f2eeaff9dcc..4301e0f389a 100644 --- a/samples/server/petstore/rust-server/output/multipart-v3/README.md +++ b/samples/server/petstore/rust-server/output/multipart-v3/README.md @@ -34,7 +34,7 @@ It also contains an example server and client which make use of `multipart-v3`: arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples diff --git a/samples/server/petstore/rust-server/output/no-example-v3/README.md b/samples/server/petstore/rust-server/output/no-example-v3/README.md index dfaa132e178..d05e2edda77 100644 --- a/samples/server/petstore/rust-server/output/no-example-v3/README.md +++ b/samples/server/petstore/rust-server/output/no-example-v3/README.md @@ -34,7 +34,7 @@ It also contains an example server and client which make use of `no-example-v3`: arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples diff --git a/samples/server/petstore/rust-server/output/openapi-v3/README.md b/samples/server/petstore/rust-server/output/openapi-v3/README.md index e6c77888704..c12f26067e0 100644 --- a/samples/server/petstore/rust-server/output/openapi-v3/README.md +++ b/samples/server/petstore/rust-server/output/openapi-v3/README.md @@ -34,7 +34,7 @@ It also contains an example server and client which make use of `openapi-v3`: arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples diff --git a/samples/server/petstore/rust-server/output/ops-v3/README.md b/samples/server/petstore/rust-server/output/ops-v3/README.md index d601d5aee76..08744200f49 100644 --- a/samples/server/petstore/rust-server/output/ops-v3/README.md +++ b/samples/server/petstore/rust-server/output/ops-v3/README.md @@ -34,7 +34,7 @@ It also contains an example server and client which make use of `ops-v3`: arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples diff --git a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/README.md b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/README.md index 6ad69b9007d..58e716118d2 100644 --- a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/README.md +++ b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/README.md @@ -34,7 +34,7 @@ It also contains an example server and client which make use of `petstore-with-f arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples diff --git a/samples/server/petstore/rust-server/output/ping-bearer-auth/README.md b/samples/server/petstore/rust-server/output/ping-bearer-auth/README.md index 3dda518a3e9..5eb87a42cb3 100644 --- a/samples/server/petstore/rust-server/output/ping-bearer-auth/README.md +++ b/samples/server/petstore/rust-server/output/ping-bearer-auth/README.md @@ -34,7 +34,7 @@ It also contains an example server and client which make use of `ping-bearer-aut arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples diff --git a/samples/server/petstore/rust-server/output/rust-server-test/README.md b/samples/server/petstore/rust-server/output/rust-server-test/README.md index 30f782641d1..a93dd62bb99 100644 --- a/samples/server/petstore/rust-server/output/rust-server-test/README.md +++ b/samples/server/petstore/rust-server/output/rust-server-test/README.md @@ -34,7 +34,7 @@ It also contains an example server and client which make use of `rust-server-tes arguments on the command line. You can use the example server and client as a basis for your own code. -See below for [more detail on implementing a server](#writing-a-server). +See below for [more detail on the examples](#using-the-generated-library). ## Examples