注释类型 RequestBody

    • 可选元素概要

      可选元素 
      修饰符和类型可选元素说明
      booleanrequired
      Whether body content is required.
    • 元素详细资料

      • required

        boolean required
        Whether body content is required.

        Default is true, leading to an exception thrown in case there is no body content. Switch this to false if you prefer null to be passed when the body content is null.

        从以下版本开始:
        3.2
        默认值:
        true