Forum Discussion

srini2213's avatar
srini2213
New Member
5 years ago

XML request body contains special characters

Hello,

 

In my swagger 2.0 i am using "consumes":"application/xml" and the parameter in request body as below. special characters in the example is encoding to eg: < to "&lt;" , " ' " to "&quote;". How to restrict it please.

"ps.Filter":{
              "type":"string",
              "example":"<![CDATA[\"Symbol[]='333333'^Date>=20140101\"]]>"
            }
No RepliesBe the first to reply