content
A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry
static class
static enum
protected String
protected Boolean
protected Boolean
protected Boolean
protected String
protected Boolean
protected Object
protected String
protected String
protected String
protected ParameterSchema
protected Boolean
protected RefParameter.StyleEnum
protected Xpath
protected
RefParameter(Consumer<RefParameter> spec)
RefParameter
.
RefParameter(List<String> __enum,
Boolean allowEmptyValue,
Boolean allowReserved,
Map<String,MediaType> content,
String _default,
Boolean deprecated,
String description,
Map<String,Example> examples,
Boolean explode,
Object extendedExample,
String get$ref,
String in,
String name,
ParameterSchema parameterSchema,
Boolean required,
RefParameter.StyleEnum style,
Map<String,Object> vendorExtensions,
Xpath xpath)
RefParameter
.__enum()
_default()
allowEmptyValue(Boolean allowEmptyValue)
allowReserved(Boolean allowReserved)
builder()
protected boolean
content()
deprecated(Boolean deprecated)
description(String description)
boolean
examples()
explode()
extendedExample(Object extendedExample)
get$ref()
int
hashCode()
in()
name()
parameterSchema(ParameterSchema parameterSchema)
required()
style()
style(RefParameter.StyleEnum style)
toString()
vendorExtensions(Map<String,Object> vendorExtensions)
xpath()
RefParameter
.spec
- the specification to processRefParameter
.
NOTE: This constructor is not considered stable and may change if the model is updated. Consider using RefParameter(Consumer)
instead.
__enum
- __enumallowEmptyValue
- Sets the ability to pass empty-valued parameters. This is valid only for query parameters and allows sending a parameter with an empty valueallowReserved
- Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding. This property only applies to parameters with an in value of query. The default value is falsecontent
- A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry_default
- _defaultdeprecated
- Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is falsedescription
- A brief description of the parameter. This could contain examples of useexamples
- Examples of the media type. Each example SHOULD contain a value in the correct format as specified in the parameter encoding. The examples field is mutually exclusive of the example field. Furthermore, if referencing a schema which contains an example, the examples value SHALL override the example provided by the schemaexplode
- When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is falseextendedExample
- Example of the media type. The example SHOULD match the specified schema and encoding properties if present. The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema which contains an example, the example value SHALL override the example provided by the schema. To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessaryget$ref
- The available paths and operations for the APIin
- The location of the parameter. Possible values are "query", "header", "path" or "cookie"name
- The name of the parameter. Parameter names are case sensitiveparameterSchema
- parameterSchemarequired
- Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is falsestyle
- Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - formvendorExtensions
- vendorExtensionsxpath
- xpaththis
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.this
.