Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit 1da77ed

Browse files
authored
Merge pull request #765 from Hans-Wu-cn/solon-hans
Solon has discarded PathVar and replaced it with Path
2 parents c877486 + a9a75e3 commit 1da77ed

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/com/ly/doc/constants/SolonAnnotations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public interface SolonAnnotations {
4141
String DELETE_MAPPING = "Delete";
4242
String DELETE_MAPPING_FULLY = "org.noear.solon.annotation.Delete";
4343

44-
String REQUEST_PARAM = "Param";
45-
String REQUEST_PARAM_FULL = "org.noear.solon.annotation.Param";
44+
String REQUEST_PARAM = "Path";
45+
String REQUEST_PARAM_FULL = "org.noear.solon.annotation.Path";
4646

4747
String PATH_VAR = "PathVar";
4848
String PATH_VAR_FULL = "org.noear.solon.annotation.PathVar";

src/main/java/com/ly/doc/constants/SolonRequestAnnotationsEnum.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ public enum SolonRequestAnnotationsEnum {
3030
/**
3131
* Solon Request Annotation PathVar
3232
*/
33-
PATH_VAR("PathVar"),
33+
PATH_VAR("Path"),
3434

3535
/**
3636
* Solon Request Annotation PathVar full
3737
*/
38-
PATH_VAR_FULLY("org.noear.solon.annotation.PathVar"),
38+
PATH_VAR_FULLY("org.noear.solon.annotation.Path"),
3939

4040
/**
4141
* Solon Request Annotation Param

0 commit comments

Comments
 (0)