Skip to content

method.content.type

Set the content type for a method.

Usage

properties
method.content.type=groovy:it.ann("org.springframework.web.bind.annotation.PostMapping")?.value("consumes") ?: "application/json"

Released under the Apache-2.0 License.