Interface BadApis.Five

Enclosing class:
BadApis

public static interface BadApis.Five
The interface Five.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<List<ExampleModel>>
    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