Skip to content

Commit

Permalink
fix(managed): Use RequestParam instead of Query so Swagger UI does it…
Browse files Browse the repository at this point in the history
… right (#937)
  • Loading branch information
Erik Munson authored and mergify[bot] committed Oct 25, 2019
1 parent 929917e commit 8ab857e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.springframework.web.bind.annotation.RestController;
import retrofit.RetrofitError;
import retrofit.client.Header;
import retrofit.http.Query;

@RequestMapping("/managed")
@RestController
Expand Down Expand Up @@ -84,7 +83,7 @@ Resource exportResource(
@PathVariable("account") String account,
@PathVariable("type") String type,
@PathVariable("name") String name,
@Query("serviceAccount") String serviceAccount) {
@RequestParam("serviceAccount") String serviceAccount) {
return keelService.exportResource(cloudProvider, account, type, name, serviceAccount);
}

Expand Down

0 comments on commit 8ab857e

Please sign in to comment.