The problem is the spec is just invalid. The Comments model just doesn’t follow 
the supported spec.

 

 

 

From: <[email protected]> on behalf of Andrew Campbell 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Monday, 15 August 2016 at 04:01
To: Swagger <[email protected]>
Subject: <!-- invalid XML --> in Swagger UI Example Value

 

I'm getting <!--

 invalid XML --> in my Example Values in Swagger UI. 

 

For example

 

<?xml

 version="1.0"?>

<Comments>

<comment>

<!--

 invalid XML -->

</comment>

</Comments>

 

The model looks like this

 

Comments { 

comment (Array[Comment], optional)

}
Comment { 

id (string,null):  

http://www.w3.org/TR/xmlschema-2/#string

}

 

I have attached a sample Swagger file that displays the problem.

 

I just can't see what is causing this problem. Can anyone help me?

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to