Skip to content

Commit

Permalink
Fixed documentation for the delete service
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Jun 14, 2015
1 parent 2fa84b9 commit c319135
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,12 @@ test {
task integrationTests(type: Test) {
include '**/integration/**'
maxParallelForks = 4
}

cloudfoundry {
target = "https://api.run.pivotal.io"
org = "wakaleo"
space = "production"
file = file("build/libs/movie-service-${jar.version}.jar")
// uri = "w.cfapps.io"
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Movie add(@RequestBody Movie newMovie) {
}

@RequestMapping(value = "/{id}", method=DELETE)
@ApiOperation(value = "Removing a movie from the catalog", httpMethod = "POST")
@ApiOperation(value = "Removing a movie from the catalog", httpMethod = "DELETE")
public void delete(@PathVariable String id) {
repository.delete(id);
}
Expand Down

0 comments on commit c319135

Please sign in to comment.