Re: XML tag on complex types array

11 views
Skip to first unread message
Message has been deleted

tony tam

unread,
May 27, 2016, 11:34:54 AM5/27/16
to swagger-sw...@googlegroups.com
Hi, it’s not clear what you’re looking to do.  Please expand

On May 25, 2016, at 4:38 AM, Lucien Combe <lucien...@gmail.com> wrote:

Hi all,


Is it possible to use xml type on complex types array please ?


Example: 

  fareTypes:
        type: array
        xml:
          wrapped: true 
        items:
          $ref: '#/definitions/FareType'
          xml:
            name: FareType

I can't get the script above working . The response XML example doesn't match my model structure.

I was not able to find this info on specification page.

Any help please ?

Regards,

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages