ContributionsMost RecentMost LikesSolutionsHow to add Properties[] properties in @Schema annotation? Similar to the post here: https://community.smartbear.com/t5/Swagger-Open-Source-Tools/How-to-add-Properties-properties-in-Schema-annotation/td-p/197143 I am not sure how to define the schemas for the Properties in my request parameter schema. Or if a schema is even the right tag for it. requestBody = @RequestBody( content = @Content( mediaType = MediaType.MULTIPART_FORM_DATA, schema = @Schema( type = "object", requiredProperties = { "user", "options" }, // can't define @Properties here ) ) ), Its not possible to define Properties. The proposed workaround around having another class linked, I don't think that is an actual work around? Cause it would imply a single schema ref, not multiple. What I would like is this definition generated: "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "required" : [ "options", "user" ], "type" : "object", "properties" : { "user" : { "$ref" : "#/components/schemas/ExternalUserDTO" }, "options" : { "$ref" : "#/components/schemas/RoomOptionsDTO" } } } } } }, What would the required annotations look like for this?