Interface BadApis.Four

Enclosing class:
BadApis

public static interface BadApis.Four
The interface Four.
  • Method Details

    • updateExampleModel

      @PutMapping(path="/api/models/{id}") org.springframework.http.ResponseEntity<Void> updateExampleModel(@RequestBody ExampleModel model)
      Update model response entity.
      Parameters:
      model - the model
      Returns:
      the response entity
    • addExampleModel

      org.springframework.http.ResponseEntity<Void> addExampleModel(@RequestBody ExampleModel model)
      Add model response entity.
      Parameters:
      model - the model
      Returns:
      the response entity
    • getExampleModel

      @GetMapping(path="/api/models/{id}") org.springframework.http.ResponseEntity<String> getExampleModel(@PathVariable("id") String id)
      Gets model.
      Parameters:
      id - the id
      Returns:
      the model