Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 97226200C0E for ; Wed, 18 Jan 2017 06:28:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 94159160B52; Wed, 18 Jan 2017 05:28:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 881B0160B46 for ; Wed, 18 Jan 2017 06:28:25 +0100 (CET) Received: (qmail 54334 invoked by uid 500); 18 Jan 2017 05:28:24 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 54322 invoked by uid 99); 18 Jan 2017 05:28:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2017 05:28:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C10D1181A91 for ; Wed, 18 Jan 2017 05:28:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.949 X-Spam-Level: * X-Spam-Status: No, score=1.949 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id S1_BOcOsmLQF for ; Wed, 18 Jan 2017 05:28:21 +0000 (UTC) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9D13D5F297 for ; Wed, 18 Jan 2017 05:28:20 +0000 (UTC) Received: by mail-qk0-f175.google.com with SMTP id 11so2755339qkl.3 for ; Tue, 17 Jan 2017 21:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0VvXCbYqlA9H84dLHCMaiOwiphKehHCVpwBGnJc2FTE=; b=UvvsxlzpMP8WRb+YJEuldQISBwQdZgxKLDrxZOrzaSZpeci7KpzuVW0R74KuzRJHNU VLZcOhwEfGMzLe68LJEKOCWEJ3VoE9E1PYo4zrv/oYAhRaNd9j94kiur7KZSeK5+IvvD 3Hn2XL/QDRtbjeyZhWL3jNr0pFmZ4uKlD+TKUrfNblT5+U85xDUvhZV7A5ZxF1uQOeLY oJbOuCXSRBbnJfksmWsnYn23KIQkW8f4F/gPKwI2OCR7UsQ45QqCm8BFnWjihyJ5TZW6 3W0aArsUbBXjwDAklQA1WVDTKaV+pDMHN8V1nOV7z9tsC0dvrLdpvUZ7vjkkx07alyHk 0gHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0VvXCbYqlA9H84dLHCMaiOwiphKehHCVpwBGnJc2FTE=; b=VMSvTnPkTupX8ub8GaPvOf9CHoa0+65qreKAMRvMQ8W1v20Veg4t96++3WXWDd+W9R aoMKXuhtg+yoB7wBKu60ZBCSvuIIQC0VefWst+2GycvRsRURcHcUBIoYI2BGxlGSU6Tq YVIasALRLmHW1mXKKBY7lo/cjC1A8KikK07qMmHYd76fQhnklLK5W+HAw2aq7tbEToRu aRbXKHpab3y1qFP+bTXe+DTlBR9I0liHDLBXiFOCUN9mn3q/oRGL2UMxwM4cbrZzTxAW 7CpuPuqY/zKITkM4Gq3WFsCorewJrGWgS1Monab9DQsBrZCj+cFCnFCwXbiYtoxNbiU3 2daA== X-Gm-Message-State: AIkVDXIH2ZkX8wYaodc56gwUTVr4zg9OL29wBY7rxnBuoCxHad9RXW0O+kxmQgPQm0KaiHPhdT6JPbnMM86Seg== X-Received: by 10.55.161.11 with SMTP id k11mr1281807qke.149.1484717299640; Tue, 17 Jan 2017 21:28:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.130.134 with HTTP; Tue, 17 Jan 2017 21:28:19 -0800 (PST) In-Reply-To: <10b6e93d-56ec-1e0b-ca65-0d70eb37257c@gmail.com> References: <10b6e93d-56ec-1e0b-ca65-0d70eb37257c@gmail.com> From: "Vjacheslav V. Borisov" Date: Wed, 18 Jan 2017 09:28:19 +0400 Message-ID: Subject: Re: xml namespace not generated in swagger.json generated by swagger2feature To: users@cxf.apache.org Content-Type: multipart/alternative; boundary=94eb2c07728e3cb10e054657afea archived-at: Wed, 18 Jan 2017 05:28:26 -0000 --94eb2c07728e3cb10e054657afea Content-Type: text/plain; charset=UTF-8 There is "xml" block in swagger specifiction http://swagger.io/specification/ and swagger2feature fills only "name" parameter, but no "namespace" So this is not implemented, understand 2017-01-17 19:47 GMT+04:00 Sergey Beryozkin : > Hi > > I've always been thinking Swagger can only describe JSON payloads which > would have no namespaces. Unless some trick exists which I'm unaware of > > Sergey > > > On 17/01/17 15:44, Vjacheslav V. Borisov wrote: > >> Hi! >> >> Playng again with swagger2feature and notice that definitions of jaxb >> objects >> do not contain namespace >> >> "OperationSchema" : { >> "type" : "object", >> "properties" : { >> "id" : { >> "type" : "integer", >> "format" : "int64" >> }, >> "name" : { >> "type" : "string" >> } >> }, >> "xml" : { >> "name" : "operationSchema" >> } >> } >> >> >> How to fix this? >> >> > --94eb2c07728e3cb10e054657afea--