Skip to content

Additional parameter configuration not working in global context #140

Closed

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

Activity

  1. added this to the core: next milestone on May 29, 2022
  2. hauner commented on May 29, 2022

    @hauner
    Member

    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. ;-)

  3. hauner commented on May 29, 2022

    @hauner
    Member

    .. will look at it.

  4. added a commit that references this issue on May 29, 2022
  5. modified the milestones: core: next, 2022.5 on Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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