Integration Server Content Type Constraints | Swagger Type Constraints |
enumeration | enum |
length | minLength maxLength |
minLength | minLength |
maxLength | maxLength |
pattern | pattern |
minInclusive | minimum exclusiveMinimum |
minExclusive | Same as above |
maxInclusive | maximum exclusiveMaximum |
maxExclusive | Same as above |
totalDigits | NA |
fractionDigits | NA |
whitespace | NA |
IS Content Type | Swagger Data Type | Format | Swagger Constraints |
byte | integer | int32 | enum, minimum, exclusiveMinimum, maximum, exclusiveMaximum, pattern |
short | integer | int32 | Same as above |
int | integer | int32 | Same as above |
long | integer | int64 | Same as above |
double | number | double | Same as above |
float | number | float | Same as above |
integer | integer | Same as above | |
nonPositiveInteger | integer | Same as above | |
negativeInteger | integer | Same as above | |
nonNegativeInteger | integer | Same as above | |
unsignedByte | integer | Same as above | |
unsignedShort | integer | Same as above | |
unsignedInt | integer | Same as above | |
unsignedLong | integer | Same as above | |
positiveInteger | integer | Same as above | |
duration, gDay, gMonth, gMonthDay, gYear, gYearMonth, time | string | Same as above | |
base64Binary | string | byte | enum, minLength, maxLength, pattern |
hexBinary | string | binary | Same as above |
string, anyURI, ENTITY, ID, IDREF, language, Name, NCName, NMTOKEN, token, normalizedString | string | Same as above | |
ENTITIES, IDREFS, NMTOKENS | string | enum, minLength, maxLength, | |
decimal | number | enum, pattern | |
dateTime | string | date-time | Same as above |
date | string | date | Same as above |
boolean | boolean | pattern |