Direct links to fixes
5.0.8.1-APIConnect-Portal-Debian7-20171030-1423
5.0.8.1-APIConnect-Portal-Debian7-20171030-1423.ova
5.0.8.1-APIConnect-Portal-Ubuntu16-20171030-1423
5.0.8.1-APIConnect-Portal-Ubuntu16-20171030-1423.ova
APIConnect_Management_5.0.8.1_20171030-0955_4c09866eee14_ef24683.ova
APIConnect_Management_5.0.8.1_20171030-0955_4c09866eee14_ef24683.vcrypt2
apiconnect-2.7.62
APAR status
Closed as program error.
Error description
In uncommon cases, API Connect 5.0.7.2 does not correctly convert valid default wsdl boolean values to a valid swagger boolean value. $ apic validate my.yaml Error validating my.yaml with Swagger Version 2.0 schema API definition [my:1.0.0]. Expected type boolean but found type integer Successfully validated my.yaml against API Connect swagger extensions schema API definition [complextypesbroken:1.0.0]. Successfully validated my.yaml against IBM Swagger Version 2.0 schema API definition [complextypesbroken:1.0.0]. Error: Validation did not complete successfully. Swagger may contain integer representations of boolean true and false; this is invalid for a swagger 2 document. .
Local fix
Problem summary
A WSDL/XSD may define a default or final value of an element. The API Connect wsdl parser converts this value into a default field according to the Open API 2.0 (Swagger) specification. Due to a program error in the wsdl parser, if a boolean schema element has a default value of 1 or 0, the parser does not convert the value to a true or false. As a result, the Open API 2.0 (Swagger) document will fail a strict validation test.
Problem conclusion
This issue will be fixed in the next release or ifix after 5080.
Temporary fix
Comments
APAR Information
APAR number
LI79806
Reported component name
API CONNECT ENT
Reported component ID
5725Z2201
Reported release
507
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-09-11
Closed date
2017-09-29
Last modified date
2017-09-29
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
API CONNECT ENT
Fixed component ID
5725Z2201
Applicable component levels
R507 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"507","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 September 2021