Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.advantageous.qbit.meta.swagger;
 public class Parameter {
     private final String name;
     private final String in;
     private final String description;
    private final boolean required;
    private final Schema schema;
    private final String type;
    private final boolean allowEmptyValue;
    private final Schema items;
Determines the format of the array if type array is used. Possible values are: csv - comma separated values foo,bar. ssv - space separated values foo bar. tsv - tab separated values foo\tbar. pipes - pipe separated values foo|bar. multi - corresponds to multiple parameter instances instead of multiple values for a single instance foo=bar&foo=baz. This is valid only for parameters in "query" or "formData". Default value is csv.
    private final String collectionFormat;
    private final String defaultValue;
    maximum	number	See
exclusiveMaximum	boolean	See
minimum	number	See
exclusiveMinimum	boolean	See
maxLength	integer	See
minLength	integer	See
pattern	string	See
maxItems	integer	See
minItems	integer	See
uniqueItems	boolean	See
enum	[*]	See
multipleOf	number	See
    public Parameter(String nameString inString descriptionboolean requiredSchema schemaString type,
                     boolean allowEmptyValueSchema itemsString collectionFormatString defaultValue) {
        this. = name;
        this. = in;
        this. = description;
        this. = required;
        this. = schema;
        this. = type;
        this. = allowEmptyValue;
        this. = items;
        this. = collectionFormat;
        this. = defaultValue;
    public String getName() {
        return ;
    public String getIn() {
        return ;
    public String getDescription() {
        return ;
    public boolean isRequired() {
        return ;
    public Schema getSchema() {
        return ;
    public String getType() {
        return ;
    public boolean isAllowEmptyValue() {
        return ;
    public Schema getItems() {
        return ;
    public String getCollectionFormat() {
        return ;
    public String getDefaultValue() {
        return ;
New to GrepCode? Check out our FAQ X