@GetMapping("/clients/{uid}")
public ResponseEntity<?> getClient(@ApiParam(value = "An String value representing a User ID." , example = "a12") @PathVariable String uid)
或
@GetMapping("/clients/{uid}")
public ResponseEntity<?> getClient(@ApiParam(value = "An String value representing a User ID.") @PathVariable String uid)
1条答案
按热度按时间tzcvj98z1#
这是参数名称和值的组合描述或参数示例的表示。您可以使用
@ApiParam
来更改字段中的占位符。范例:
或