-
-
Notifications
You must be signed in to change notification settings - Fork 559
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
given this RestController method
@GetMapping
public SomeType get(
@PathVariable String path,
@RequestParam(required = false) Map<String, String> params) {
}
params is included in documentation
To Reproduce
Steps to reproduce the behavior:
- What version of spring-boot you are using?
2.1.7 - What modules and versions of springdoc-openapi are you using?
tried springdoc-openapi-ui 1.2.27 and 1.3.1 - What is the actual and the expected result using OpenAPI Description (yml or json)?
using 1.2.26, Map doesn't show up, it shows up in doc after from 1.2.27 on - Provide with a sample code (HelloController) or Test that reproduces the problem
@RestController
public class Controller {
@GetMapping(value = "/get")
public String get(@RequestParam Map<String, String> params) {
return "healthy";
}
}
Expected behavior
Map types in methods should be ignored
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request