Should a REST service expose a XSD for XML responses?



We've build a REST service that depending on the accept header will return XML or JSON to the client, or depending the content-type header will accept XML or JSON.


Now a recent integrator asked us whether we have a XSD schema for our XML responses and requests.


Is this a common practice to have when developing REST services?


No comments:

Post a Comment