Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-704

SDC External API : Swagger Errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • SDC
    • 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

            tgitelman tgitelman
            rene_robert rene_robert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified