@Version("1.0")

Package org.eclipse.microprofile.openapi.annotations

A set of annotations, many derived from Swagger Core library. OpenAPI annotations can be augmented with existing JAX-RS annotations in an application to produce a valid OpenAPI document. Examples of annotations in this package include:
  • Components
  • ExternalDocumentation
  • OpenAPIDefinition
  • Operation

Example of usage:

  @GET
  @Path("/findByStatus")
  @Operation(summary = "Finds Pets by status",
            description = "Multiple status values can be provided with comma separated strings")
  public Response findPetsByStatus(...) { ... }