public interface FileTypeDeclaration extends TypeDeclaration
| Modifier and Type | Method and Description |
|---|---|
List<ContentType> |
fileTypes()
It should also include a new property: fileTypes, which should be a list of valid content-type strings for the file.
|
Long |
maxLength()
The maxLength attribute specifies the parameter value's maximum number of bytes.
|
Long |
minLength()
The minLength attribute specifies the parameter value's minimum number of bytes.
|
allowedTargets, defaultValue, description, displayName, example, examples, facets, name, parentTypes, required, toJsonSchema, toXmlSchema, type, validate, xmlannotationsList<ContentType> fileTypes()
Long minLength()
Long maxLength()
Copyright © 2020. All rights reserved.