Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | 6.x, BWCE |
Symptoms:
The following error is thrown while trying to create reference from the swagger file
"REST Schema to XSD Schema conversion error: com.tibco.bw.swagger.model.exceptions.SwaggerError
Invalid object schema.Properties Cannot be null {"type":"object","additionalProperties":{"type":"string"}}"
Attached error screenshot (xsd_schema_conversion_error.JPG)
Cause:
We do not support additionalProperties or empty object type. That's to say, whenever there's "type":object in the Swagger file, we expect "properties" field to be present with it.
There's an enhancement request AMBW-28424 to throw detailed error listing all the limitations on why a particular swagger to XSD generation fails