public interface StringTypeDeclaration extends TypeDeclaration
| Modifier and Type | Method and Description |
|---|---|
List<String> |
enumValues()
(Optional, applicable only for parameters of type string) The enum attribute provides an enumeration of the parameter's valid values.
|
Integer |
maxLength()
Maximum length of the string
|
Integer |
minLength()
Minimum length of the string
|
String |
pattern()
Regular expression that this string should path
|
allowedTargets, defaultValue, description, displayName, example, examples, fixedFacets, isAnnotation, name, required, schema, schemaContent, type, validateannotationsString pattern()
Integer minLength()
Integer maxLength()
List<String> enumValues()
Copyright © 2016. All rights reserved.