See: Description
Interface | Description |
---|---|
Parameter |
Parameter
|
RequestBody |
This interface represents the request body of an operation in which body parameters can be specified.
|
Enum | Description |
---|---|
Parameter.In |
The values allowed for the in field.
|
Parameter.Style |
The values allowed for the style field.
|
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)))