cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vjacheslav V. Borisov" <slav...@gmail.com>
Subject Re: xml namespace not generated in swagger.json generated by swagger2feature
Date Wed, 18 Jan 2017 05:28:19 GMT
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 <sberyozkin@gmail.com>:

> 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?
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message