root/WebContent/WEB-INF/resources/contracts/test.wadl @ 1074:457ba01e700d

Revision 1074:457ba01e700d, 1.4 KB (checked in by tgambet, 3 years ago)

added mimetype text/xml

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://research.sun.com/wadl/2006/10 wadl.xsd" xmlns="http://research.sun.com/wadl/2006/10"> 
3<grammars/> 
4        <resources base="http://localhost:8080/unicorn/">
5                <resource path="test">
6                       
7                        <doc xml:lang="en" title="name">Test Validator</doc>
8                       
9                        <doc title="responseType">default</doc>
10                       
11                        <doc title="mimetype">application/xml</doc>
12                        <doc title="mimetype">text/xml</doc>
13                       
14                        <doc title="paramLang">lang</doc>
15                        <doc title="paramOutput">output</doc>
16                       
17                        <doc title="reference">test</doc>
18               
19                                <method name="GET" id="CssValidationUri">
20                            <doc title="inputMethod">URI</doc>
21                            <doc title="inputParamName">uri</doc>
22                            <request>
23                                    <param name="uri" type="xs:anyURI" style="plain" required="true" />
24                            </request>
25                            </method>
26                </resource>
27        </resources>
28</application>
Note: See TracBrowser for help on using the browser.