Skip navigation links

Package org.eclipse.microprofile.openapi.models.parameters

A set of model interfaces to describe operation parameters and operation's request body.

See: Description

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

A set of model interfaces to describe operation parameters and operation's request body.

The behaviour of methods inherited from java.lang.Object are undefined by the MicroProfile OpenAPI specification.

Example usage:

 .components(OASFactory.createObject(Components.class)
      .parameters(new HashMap<String, Parameter>())
          .addParameter("departureDate", OASFactory.createObject(Parameter.class)
              .required(true)
              .description("Customer departure date")
              .schema(OASFactory.createObject(Schema.class)))
          .addParameter("username", OASFactory.createObject(Parameter.class)
              .required(true)
              .description("The name that needs to be deleted")
              .schema(OASFactory.createObject(Schema.class)))
 
Skip navigation links