Skip to content

Commit

Permalink
Add explicit RequestParam name.
Browse files Browse the repository at this point in the history
  • Loading branch information
zigac-medius committed Sep 7, 2022
1 parent 7669f7d commit cab8a09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private static void _filterDOs (@Nonnull final ResponseLookupRoutingInformationT

@GetMapping (value = "/ial/{cot}", produces = MediaType.APPLICATION_XML_VALUE)
public ResponseEntity <byte []> callIalCot (@Valid @PathVariable @NotNull final String cot,
@RequestParam (required = false) final String environment)
@RequestParam (name = "environment", required = false) final String environment)
{
if (LOGGER.isInfoEnabled ())
LOGGER.info ("Request to API '/service/ial/" +
Expand Down Expand Up @@ -152,7 +152,7 @@ private static void _filterDOs (@Nonnull final ResponseLookupRoutingInformationT
@GetMapping (value = "/ial/{cot}/{atu}", produces = MediaType.APPLICATION_XML_VALUE)
public ResponseEntity <byte []> callIalCotAtu (@Valid @PathVariable @NotNull final String cot,
@Valid @PathVariable @NotNull final String atu,
@RequestParam (required = false) final String environment)
@RequestParam (name = "environment", required = false) final String environment)
{
if (LOGGER.isInfoEnabled ())
LOGGER.info ("Request to API '/service/ial/" +
Expand Down

0 comments on commit cab8a09

Please sign in to comment.