Skip to content

Additional parameter configuration not working in global context #140

@RobinQu

Description

@RobinQu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions