public enum CollectionFormat extends Enum<CollectionFormat>
List parameters in
 paths, queries, and headers.
 See https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#fixed-fields-7.| Enum Constant and Description | 
|---|
CSV
Comma separated values. 
 | 
MULTI
Corresponds to multiple parameter instances instead of multiple values
 for a single instance. 
 | 
PIPES
Pipe(|) separated values. 
 | 
SSV
Space separated values. 
 | 
TSV
Tab separated values. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDelimiter()
Gets the delimiter used to join a list of parameters. 
 | 
static CollectionFormat | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static CollectionFormat[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final CollectionFormat CSV
public static final CollectionFormat SSV
public static final CollectionFormat TSV
public static final CollectionFormat PIPES
public static final CollectionFormat MULTI
public static CollectionFormat[] values()
for (CollectionFormat c : CollectionFormat.values()) System.out.println(c);
public static CollectionFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDelimiter()
Copyright © 2019. All rights reserved.