Created
August 28, 2013 01:56
-
-
Save xcommerce-gists/6361293 to your computer and use it in GitHub Desktop.
Web API XSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:element name="config"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="service"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="rest-route"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="httpMethod"/> | |
<xs:attribute type="xs:string" name="method"/> | |
<xs:attribute type="xs:boolean" name="secure" default="false"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
<xs:attribute type="xs:string" name="class"/> | |
<xs:attribute type="xs:string" name="baseUrl"/> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment