-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
Springcloud is used in the project, but returns 404
@Validated
public interface ValidClient {
@GetMapping("/valid")
String queryById(@RequestParam("id") @Min(1) @Max(400) Integer id);
}
@RestController
public class ValidController implements ValidClient {
@Override
public String queryById(@Min(1) @Max(400) Integer id) {
return "id:" + id;
}
}
Springcloud is used in the project, but returns 404,the Validated don't work on interface ?
Metadata
Metadata
Assignees
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid