Skip navigation links

Package org.eclipse.microprofile.openapi.annotations.parameters

A set of annotations to describe and encapsulate operation parameters and operation's request body.

See: Description

Package org.eclipse.microprofile.openapi.annotations.parameters Description

A set of annotations to describe and encapsulate operation parameters and operation's request body.

Example usage:

  @Produces("application/json")
  public Response getReviewById(
           @Parameter(
              name = "id",
              description = "ID of the booking",
              required = true,
              in = ParameterIn.PATH,
              content =  @Content(
                  examples =  @ExampleObject(
                      name = "example",
                      value = "1")))
           @PathParam("id") int id)
 
Skip navigation links