Skip to content

Commit

Permalink
Make it more in line with the REST pattern. (Netflix#3879)
Browse files Browse the repository at this point in the history
  • Loading branch information
youngledo authored Dec 4, 2023
1 parent 41d4334 commit ca422db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public SearchResult<Task> searchV2(
}

@Operation(summary = "Get the external uri where the task payload is to be stored")
@GetMapping("/externalstoragelocation")
@GetMapping({"/externalstoragelocation", "external-storage-location"})
public ExternalStorageLocation getExternalStorageLocation(
@RequestParam("path") String path,
@RequestParam("operation") String operation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public SearchResult<Workflow> searchWorkflowsByTasksV2(
@Operation(
summary =
"Get the uri and path of the external storage where the workflow payload is to be stored")
@GetMapping("/externalstoragelocation")
@GetMapping({"/externalstoragelocation", "external-storage-location"})
public ExternalStorageLocation getExternalStorageLocation(
@RequestParam("path") String path,
@RequestParam("operation") String operation,
Expand Down

0 comments on commit ca422db

Please sign in to comment.