[Apiman-user] Apiman & Swagger error (Version 1.1.8.Final)

Charles Moulliard cmoulliard at redhat.com
Mon Sep 21 09:04:11 EDT 2015


Hi,

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)

What is the problem as the service defintion (= json file) works very 
well in a Swagger UI standalone Web Server ?

Regards,

-- 
Charles Moulliard
Principal Solution Architect / JBoss Fuse Expert - Global Enablement @redhat
cmoulliard at redhat.com | work: +31 205 65 12 84 | mobile: +32 473 604 014
MC-Square Business "Stockholm", Leonardo Da Vincilaan 19, Diegem 1831 - 
Belgium
twitter: @cmoulliard <http://twitter.com/cmoulliard> | blog: 
cmoulliard.github.io <http://cmoulliard.github.io>
committer: apache camel, karaf, servicemix, hawtio, fabric8, drools, 
jbpm, deltaspike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150921/6e501d7a/attachment.html 


More information about the Apiman-user mailing list