type Request struct { Inline Name string `path:"name,options=you|me"` } type Response struct { Message string `json:"message"` // message } service A-api { @doc ("helloworld") @server( handler: GreetHandler ) get /greet/from/:name(Request) returns (Response) }