Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BB9918FBA for ; Fri, 5 Feb 2016 07:44:29 +0000 (UTC) Received: (qmail 2414 invoked by uid 500); 5 Feb 2016 07:44:29 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 2369 invoked by uid 500); 5 Feb 2016 07:44:28 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 98798 invoked by uid 99); 5 Feb 2016 07:42:51 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.313 X-Spam-Level: ** X-Spam-Status: No, score=2.313 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, URI_HEX=1.313] autolearn=disabled Date: Fri, 5 Feb 2016 00:42:49 -0700 (MST) From: Gohand To: users@camel.apache.org Message-ID: <1454658169329-5777255.post@n5.nabble.com> Subject: Swagger not working MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all I'm an absolute newbie to Camel, so please forgive me, if I'm not seeing an obvious solution. I tried using the Swagger component in combination with the Camel REST DSL in ServiceMix. My Spring XML looks as follows: A REST service looks like this: Issues rest service Returns an single issue [...] The REST service itself works like a charm. I get the correct reply on hitting http://localhost:8080/api/v1/issues/123 for example. If I now try to get the Swagger JSON on http://localhost:8080/api-doc, the server replies with 404 - not found. There is no error when starting my bundle or calling the URL. In my opinion, the configuration is exactly as described in the video https://vimeo.com/140179426 by Claus Ibsen (except for using Spring XML instead of Java). Do you have an idea, why Swagger isn't working? Any help is highly appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/Swagger-not-working-tp5777255.html Sent from the Camel - Users mailing list archive at Nabble.com.