feat: add gen api @doc comment to logic handler routes (#3790)

Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
This commit is contained in:
chentong
2024-03-30 19:09:54 +08:00
committed by GitHub
parent cf987295df
commit 8c0bb27136
7 changed files with 54 additions and 41 deletions

View File

@@ -16,5 +16,11 @@ service A-api {
@server(
handler: GreetHandler
)
get /greet/from/:name(Request) returns (Response)
}
get /greet/from/:name (Request) returns (Response)
@doc(
summary: "comment comment comment"
)
@handler NoResponseHandler
get /greet/get (Request)
}