@RestController @Validated public class ApiVersionFallbackController extends Object
| Constructor and Description |
|---|
ApiVersionFallbackController() |
@RequestMapping(value="${net.chibidevteam.apiversioning.path.api}/**")
@ResponseStatus(code=NOT_FOUND,
reason="This endpoint is not implemented for the given version")
public void pathFallback(@ValidApiVersion @PathVariable(value="")
String apiVersion)
Copyright © 2017. All rights reserved.