Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-691

TypeError: window.swaggerUi is not defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.9.Final, 1.1.x
    • 1.1.8.Final
    • Management UI
    • None

    Description

      I have added a Swagger Spec Document - version 2.0 (json) -
      https://github.com/FuseByExample/rest-dsl-in-action/blob/master/swagger/src/main/resources/services.json

      but I don't see it at this address
      (http://localhost:8080/apimanui/api-manager/browse/orgs/fuse/blog-service/1.0)

      within the Web UI of Apiman. Instead this message is reported " This
      service does not have a service definition file. Contact the service
      provider and ask them to supply a valid service definition!"

      This error is generated within the console of the web browser

      TypeError: window.swaggerUi is not defined
           at Object.window.authorizations.add (swagger-ui.js:230)
           at apiman-manager.js:2252
           at apiman-manager.js:1123
           at processQueue (angular.js:13300)
           at angular.js:13316
           at Scope.$eval (angular.js:14552)
           at Scope.$digest (angular.js:14368)
           at Scope.$apply (angular.js:14657)
           at done (angular.js:9734)
           at completeRequest (angular.js:9924)
      

      Attachments

        Activity

          People

            ewittman@redhat.com Eric Wittmann
            cmoullia Charles Moulliard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: