-
-
Notifications
You must be signed in to change notification settings - Fork 536
Closed
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
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
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists