APAR status
Closed as program error.
Error description
Datapower API Gateway and try to set a custom name for the API Key (ClientId). 1. Import an existing Test API in the API Manager (Design view): Hello-World-API-3_empty.yaml 2. Edit the API in the Design View 3. Go to Security Defiitions 4. Create a security defintion Name: MyOwnSecurityDefintion Type: API Key Located in: Header Key Type: Client ID (from Dropdown) Parameter name: left blank (optional) 5. Save API. 6. Go to "Security" section in API and Add and choose "MyOwnSecurityDefintion" from the list and activate it. 7. During publishing of the API the following error occurs: HTTP400 Error Message: -------------------- Product has not been published! The multipart 'openapi' field contains an OpenAPI definition with validation errors. Missing required field: name (context: (root).securityDefinitions, line: 0, col: 0) Must validate one and only one schema (oneOf) (context: (root).securityDefinitions, line: 17, col: 28) 400 x ------------- 8. Attached Screenshots show the error in the order of the naming 1_*.png, 2_.png 9. It seems UI generated a non valid Swagger code 10. When reopening the Security Defintion in the Design view. The optional key type is empty.
Local fix
Problem summary
Editing security and security definitions on an api has multiple bugs.
Problem conclusion
Fixed on API Connect 2018.4.1.8
Temporary fix
Comments
APAR Information
APAR number
LI81048
Reported component name
API CONNECT ENT
Reported component ID
5725Z2201
Reported release
18X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-08-23
Closed date
2019-10-17
Last modified date
2019-10-17
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
R18X PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 September 2021