| 类 | 说明 |
|---|---|
| ApiVersionProperties |
Restful API接口版本定义自动配置属性
|
| 注释类型 | 说明 |
|---|---|
| ApiVersion |
Restful API接口版本定义
为接口提供优雅的版本路径,效果如下:
@ApiVersion(1)
@RequestMapping("/{version}/user")
实际请求路径值:/v1/user
|
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.