Designer 10.7 | webMethods Service Development Help | Working with REST API Descriptors | Swagger-Based Provider REST API Descriptors | Mapping Integration Server Data Types to Swagger Data Types
 
Mapping Integration Server Data Types to Swagger Data Types
Integration Server maps the data types to Swagger data types as follows:
Integration Server Data Type
Swagger Data Types
Swagger Data Format
string
string
String List
string
String Table
string
Object
string
binary
Object List
string
binary
Document
ref
Document List
ref
Document Reference
ref
Document Reference List
ref
java.lang.Byte
string
byte
java.lang.Boolean
boolean
java.util.Date
string
date
byte[]
string
byte
java.lang.integer
integer
int32
java.lang.Short
integer
int32
java.lang.Long
integer
int64
java.lang.Double
number
double
java.lang.Character
string
java.math.BigDecimal
number
double
java.math.BigInteger
integer
int64
Note:
For any parameter that is an array or of type String table, for the corresponding parameter in the Swagger document, Integration Server sets the “type” as array.