@Version("1.2.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 Types Summary Annotation Type Description Parameter Describes a single operation parameterParameters This object encapsulates input parametersRequestBody Describes a single request body.RequestBodySchema Provides a reference to a class that (after introspection) describes the schema for a single request body.