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

Eric Wittmann eric.wittmann at redhat.com
Mon Sep 21 09:20:31 EDT 2015


That is perhaps a UI regression due to an update to swagger-ui.  Can you 
add a JIRA for this?

-Eric


On 9/21/2015 9:04 AM, Charles Moulliard wrote:
> 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
>
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/apiman-user
>


More information about the Apiman-user mailing list