-
Bug
-
Resolution: Done
-
Medium
-
Beijing Release
-
SDC Sprint 8
Using swagger-editor, we can see that swagger.json for SDC External API is not compliant with swagger specifications.
Errors
Semantic error at paths./v1/registerForDistribution.post.parameters
Operations must have no more than one body parameter
Jump to line 301
Semantic error at paths./v1/registerForDistribution.post.parameters[7]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 336
Semantic error at paths./v1/unRegisterForDistribution.post.parameters
Operations must have no more than one body parameter
Jump to line 432
Semantic error at paths./v1/unRegisterForDistribution.post.parameters[7]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 467
Semantic error at paths./v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts/{artifactUUID}.get.operationId
operationIds must be unique
Jump to line 502
Semantic error at paths./v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts/{artifactUUID}.post.parameters
Operations must have no more than one body parameter
Jump to line 594
Semantic error at paths./v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts/{artifactUUID}.post.parameters[12]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 665
Semantic error at paths./v1/catalog/{assetType}/{uuid}/artifacts/{artifactUUID}.post.parameters
Operations must have no more than one body parameter
Jump to line 889
Semantic error at paths./v1/catalog/{assetType}/{uuid}/artifacts/{artifactUUID}.post.parameters[11]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 953
Semantic error at paths./v1/catalog/{assetType}/{uuid}/artifacts.post.parameters
Operations must have no more than one body parameter
Jump to line 1089
Semantic error at paths./v1/catalog/{assetType}/{uuid}/artifacts.post.parameters[10]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 1146
Semantic error at paths./v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts.post.parameters
Operations must have no more than one body parameter
Jump to line 1189
Semantic error at paths./v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts.post.parameters[11]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 1253
Semantic error at paths./v1/catalog/{assetType}.post.parameters
Operations must have no more than one body parameter
Jump to line 1382
Semantic error at paths./v1/catalog/{assetType}.post.parameters[8]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 1425
Semantic error at paths./v1/catalog/{assetType}/{uuid}/lifecycleState/{lifecycleOperation}.post.parameters
Operations must have no more than one body parameter
Jump to line 1610
Semantic error at paths./v1/catalog/{assetType}/{uuid}/lifecycleState/{lifecycleOperation}.post.parameters[10]
Operation parameters must have unique 'name' + 'in' properties
Jump to line 1665