Skip to content

HttpServletRequest and HttpServletResponse params are not ignored #57

@anzap

Description

@anzap

If i have an api method like the following:

@Operation(description = "Just an example")
@GetMapping("/v1/example")
public ResponseDTO getExample(
            final RequestDTO request,
            final HttpServletRequest httpReq, final HttpServletResponse httpResp, final Locale locale) { .... }

I would expect httpReq and httpResp to be ignored on the generated documentation, but this is not the case.
Locale is indeed ignored as it should.

Edit:
Note that adding @parameter(hidden=true) does indeed solve the issue, but it would be nice for this to be handled automatically as the Locale param is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions