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


@Version("1.1") @ProviderType package org.eclipse.microprofile.openapi.annotations.parameters
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)
 
  • Annotation Interfaces
    Class
    Description
    Describes a single operation parameter
    This object encapsulates input parameters
    Describes a single request body.
    Provides a reference to a class that (after introspection) describes the schema for a single request body.