Annotation Interface Specs


Annotation to wrap Swagger annotations used to define specs on a route.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    io.swagger.v3.oas.annotations.Operation
    The Operation Swagger annotation to associate to the annotated route.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    javax.ws.rs.Consumes
    The media types the route consumes.
    javax.ws.rs.Produces
    The media types the route produces.
  • Element Details

    • value

      io.swagger.v3.oas.annotations.Operation value
      The Operation Swagger annotation to associate to the annotated route.
    • consumes

      javax.ws.rs.Consumes consumes
      The media types the route consumes.
      Default:
      @javax.ws.rs.Consumes({""})
    • produces

      javax.ws.rs.Produces produces
      The media types the route produces.
      Default:
      @javax.ws.rs.Produces({""})