This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new d0a962641f Fix spelling (#5251)
d0a962641f is described below

commit d0a962641f4bb0fad8dc6b0643786bcccd632170
Author: John Bampton <[email protected]>
AuthorDate: Wed Oct 25 16:56:57 2023 +1000

    Fix spelling (#5251)
---
 .../src/main/http/spring-cloud-test-api-local.http                | 8 ++++----
 .../src/main/http/spring-cloud-test-api.http                      | 8 ++++----
 .../examples/springcloud/controller/NewFeatureController.java     | 4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api-local.http
 
b/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api-local.http
index 9304e21642..bef5643938 100644
--- 
a/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api-local.http
+++ 
b/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api-local.http
@@ -54,13 +54,13 @@ Content-Type: application/json
 
 ## must is success
 
-### example local used requst mapping path
-POST http://localhost:8884/new/feature/requst/mapping/path
+### example local used request mapping path
+POST http://localhost:8884/new/feature/request/mapping/path
 Accept: application/json
 Content-Type: application/json
 
-### example local used requst mapping path
-GET http://localhost:8884/new/feature/requst/mapping/path
+### example local used request mapping path
+GET http://localhost:8884/new/feature/request/mapping/path
 Accept: application/json
 Content-Type: application/json
 
diff --git 
a/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api.http
 
b/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api.http
index f1e979da74..ec7d8c50d6 100644
--- 
a/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api.http
+++ 
b/shenyu-examples/shenyu-examples-springcloud/src/main/http/spring-cloud-test-api.http
@@ -56,13 +56,13 @@ Content-Type: application/json
 
 ## must is fail
 
-### shengyu getway proxy used requst mapping path
-POST http://localhost:9195/springcloud/new/feature/requst/mapping/path
+### shengyu getway proxy used request mapping path
+POST http://localhost:9195/springcloud/new/feature/request/mapping/path
 Accept: application/json
 Content-Type: application/json
 
-### shengyu getway proxy used requst mapping path
-GET http://localhost:9195/springcloud/new/feature/requst/mapping/path
+### shengyu getway proxy used request mapping path
+GET http://localhost:9195/springcloud/new/feature/request/mapping/path
 Accept: application/json
 Content-Type: application/json
 
diff --git 
a/shenyu-examples/shenyu-examples-springcloud/src/main/java/org/apache/shenyu/examples/springcloud/controller/NewFeatureController.java
 
b/shenyu-examples/shenyu-examples-springcloud/src/main/java/org/apache/shenyu/examples/springcloud/controller/NewFeatureController.java
index 3e92f32480..7bbd5d57f7 100644
--- 
a/shenyu-examples/shenyu-examples-springcloud/src/main/java/org/apache/shenyu/examples/springcloud/controller/NewFeatureController.java
+++ 
b/shenyu-examples/shenyu-examples-springcloud/src/main/java/org/apache/shenyu/examples/springcloud/controller/NewFeatureController.java
@@ -52,9 +52,9 @@ public class NewFeatureController {
      *
      * @return result
      */
-    @RequestMapping("/requst/mapping/path")
+    @RequestMapping("/request/mapping/path")
     @ShenyuSpringCloudClient
-    @ApiDoc(desc = "requst/mapping/path")
+    @ApiDoc(desc = "request/mapping/path")
     public EntityResult requestMappingUrl() {
         return new EntityResult(200, "Do not use shenyu annotation path. used 
request mapping path");
     }

Reply via email to