Package org.eclipse.microprofile.openapi.models.parameters
@Version("1.0")
package org.eclipse.microprofile.openapi.models.parameters
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)))
-
ClassDescriptionParameterThe values allowed for the in field.The values allowed for the style field.This interface represents the request body of an operation in which body parameters can be specified.