Annotation Interface Write


A method designed to annotate an Endpoint write operation.
Since:
1.0
Author:
Graeme Rocher
  • Element Details

    • description

      String description
      Returns:
      Description of the operation
      Default:
      ""
    • produces

      @AliasFor(annotationName="io.micronaut.http.annotation.Produces", member="value") String[] produces
      Returns:
      The produced MediaType values. Defaults to application/json
      Default:
      {"application/json"}
    • consumes

      @AliasFor(annotationName="io.micronaut.http.annotation.Consumes", member="value") String[] consumes
      Returns:
      The consumed MediaType for request bodies Defaults to application/json
      Default:
      {"application/json"}