webMethods 10.2 | Service Development Help | Working with REST API Descriptors | Mapping Integration Server Data Types to Swagger Data Types
 
Mapping Integration Server Data Types to Swagger Data Types
Integration Server maps IS data types to Swagger data types as follows:
IS 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.

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release