Interface BadApis.Eight
- Enclosing class:
BadApis
public static interface BadApis.Eight
The interface Eight.
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<ExampleModel>> getExampleModels(String query) Gets models.
-
Method Details
-
getExampleModels
@RequestMapping(value="/api/models", produces="application/json", method=GET) org.springframework.http.ResponseEntity<List<ExampleModel>> getExampleModels(@RequestParam(name="q",required=false) String query) Gets models.- Parameters:
query- the query- Returns:
- the models
-