Annotation Type RestRequest


@Documented
@Target(METHOD)
@Retention(SOURCE)
public @interface RestRequest
Used to describe the Request Body for REST resources which accept input using the entire body without specifically indexed parameter names.
  • Element Details

    • description

      java.lang.String description
      Description of the request.
      Optional.
      Default Value - "No description available."
      Default:
      "No description available"
    • sampleValue

      java.lang.String sampleValue
      Sample Value of the request body.
      Optional.
      Default Value - "No sample value available."
      Default:
      "No sample value available"
    • properties

      RestObjectProperty[] properties
      Array of RestObjectProperty of properties contained in a root JSON in this request.
      Optional.
      Default Value - Empty array.
      Default:
      {}