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, fixedFacets, isAnnotation, name, required, schema, schemaContent, type, validateannotationsList<ContentType> fileTypes()
Long minLength()
Long maxLength()
Copyright © 2016. All rights reserved.