Additional parameter configuration not working in global context
RobinQu opened this issue · 2 comments
RobinQu commented
Example configuration:
map:
types:
- type: array => java.util.List
result: org.springframework.http.ResponseEntity
parameters:
- add: request => javax.servlet.http.HttpServletRequest
Genearted source will not include HttpServletRequest as additional parameter.
In another attempt with path mapping, it works as documented.
map:
paths:
/applicants:
parameters:
- add: request => javax.servlet.http.HttpServletRequest
oap-spring version: 2022.2
hauner commented
sorry, somehow missed that one.
This seems to be only implemented for path mappings. Not sure why. Can't remember if there was specific reason. ;-)
hauner commented
.. will look at it.