Override @Parameter “required=true” in Swagger Spec from @RequestHeader “required=false”

后端 未结 0 1051
一整个雨季
一整个雨季 2020-12-22 06:36

i want to override the required Attribute for a header parameter.

@RequestHeader(value = "X-Foobar", required = false) @Parameter(required = true) S         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题