Troubleshooting
Problem
In API Gateway 10.1 Fix 13, a REST API has been defined.
The API has been published to API Portal 10.3 Fix 1. On the API details page, the Swagger file has been generated ("Export API as"), resulting on a file for which the Swagger Editor (http://editor.swagger.io) reports the following errors for this swagger file:
Schema error at paths['/issues.json'].post.parameters[0]
should NOT have additional properties
additionalProperty: schema, in, name, description, required
Jump to line 179
Schema error at paths['/issues.json'].post.parameters[0].in
should be equal to one of the allowed values
allowedValues: header, formData, query, path
Jump to line 179
Schema error at paths['/issues.json'].post.parameters[0].required
should be equal to one of the allowed values
allowedValues: true
Jump to line 179
Schema error at paths['/issues.json'].post.parameters[0].schema
should NOT have additional properties
additionalProperty: allowEmptyValue
Jump to line 183
Schema error at paths['/issues/{id}.json'].put.parameters[1]
should NOT have additional properties
additionalProperty: schema, in, name, description, required
Jump to line 307
Schema error at paths['/issues/{id}.json'].put.parameters[1].in
should be equal to one of the allowed values
allowedValues: header, formData, query, path
Jump to line 307
Schema error at paths['/issues/{id}.json'].put.parameters[1].required
should be equal to one of the allowed values
allowedValues: true
Jump to line 307
Schema error at paths['/issues/{id}.json'].put.parameters[1].schema
should NOT have additional properties
additionalProperty: allowEmptyValue
Jump to line 311
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
20 March 2025
UID
ibm17195271