Query: Support for XML based custom Content-types

8 views
Skip to first unread message

Gopalan S

unread,
Aug 15, 2017, 10:13:07 AM8/15/17
to Swagger
Hi,

I am looking for a best approach to produce swagger API documents with custom content-types from my SpringBoot application. I use SpringFox to produce the swagger API documents. 

The API consumes and produces a custom content-type, actually It is an XML format with root name changed to custom (X-AML).


I tried defining the content type through @ApiImplicitParam   But It considers JSON format as default. I understand there are some customization required to handle custom content-types. 

Please suggest me a best approach to handle this custom content-type.

Thanks!


Reply all
Reply to author
Forward
0 new messages