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"

基于 Apache-2.0 许可发布