For the following code, only Parameter id
is getting generated and its completely missing the "Request body" section.
I added type="object"
based on https://swagger.io/docs/specification/data-models/dictionaries/ .
public Item addProperties(
@Parameter(description = "identifier of the item")
@PathVariable("id") String id,
@Parameter(
description = "map of property names and values ",
content = @Content(
schema = @Schema(
type = "object",
implementation = Map.class)))
@RequestBody Map<String, Object> properties)