@RequestMapping(value="/api/v1/party/{msisdn}",method=RequestMethod.GET,produces= {MediaType.APPLICATION_JSON_VALUE,MediaType.APPLICATION_XML_VALUE})publicApiPartyResponseparty(@PathVariableStringmsisdn,@RequestParam("source")PartySourceRestrictionpartySourceRestriction,@RequestParamStringfileId)throwsBusinessEx...
Regarding the current behaviour of @ApiParam overruling @RequestParam/@PathVariable-required, this is the fix-all-solution, which checks for @RequestParam, @PathVariable and then @NotNull to set required: @Component @Order(Ordered.LOWEST_PRECEDENCE) public class ParameterNotNullAnnotationPlugin implements...
KotlinReflectionInternalError:Thiscallable doesnotsupport adefaultcall:@org.springframework.web.bind.annotation.GetMappingpublicopen funget(@org.springframework.web.bind.annotation.PathVariableid:kotlin.Long,@org.springframework.web.bind.annotation.RequestParamversion:com.usbank.fdmt.server.model.type.VersionCo...
I also upgraded to Tomcat 10.1.19, as the Spring Framework 6 upgrade documents indicate you need that version of Tomcat for Jakarta (otherwise, none of the web requests work; no error; nothing; just no r...
This issue I have report to dubbo, but they told me to find answer here. Dubbo issue page see here: Issue #7154 Environment Dubbo version: 2.7.8 Operating System version: Windows 10 Java version: AdoptOpenJDK 11.0.9.1 x64 hotspot Nacos v...
@GetMapping("/doc/{document}")publicvoidgetDocument(@PathVariableStringdocument) {log.info("Retrieving "+document); } may look absolutely innocent at first glance, it does almost nothing, but since Spring does not know what View name to use,it takes it from the request URI. Specifically, Def...
PathVariable id: kotlin.Long, @org.springframework.web.bind.annotation.RequestParam version: com.usbank.fdmt.server.model.type.VersionContextType?, @org.springframework.web.bind.annotation.RequestParam asOf: kotlin.String?): com.usbank.fdmt.server.model.entity.v2.ApplicationEntity defined in com...
PathVariable id: kotlin.Long, @org.springframework.web.bind.annotation.RequestParam version: com.usbank.fdmt.server.model.type.VersionContextType?, @org.springframework.web.bind.annotation.RequestParam asOf: kotlin.String?): com.usbank.fdmt.server.model.entity.v2.ApplicationEntity defined in com...
Scenario 3: use @headers, nothing in the headers at all on the server @Headers("Authorization : {access_token}") Scenario 4: change @RequestParam to @param and Hystrix changes the call to a POST and still no headers. It looks like the access_token is the body of the POST Scenario 5...
>addToProducts(@ModelAttributeCategorycategory,@RequestParam("products")List<Long>products) {categoryService.addToProducts(category,products);returnResponseEntity.ok().build(); } } In the Thymeleaf view I get the link to that controller method with something like:...