The Web Application Description Language (WADL) is an older W3C proposal for describing web services. WADL specifications are XML documents with a fairly simple grammar (compared to OpenAPI, for instance).
Hyperlyn has partial support for importing WADL documents as Websites.
In the description below, we use a fixed-size font in red color to represent
elements of WADL specification (e.g. <resource>
)
and bold text with a grey background for Hyperlyn elements (e.g. Resource).
<application>
<doc>
and <grammars>
elements are ignored.<resources>
, <resource_type>
, <method>
, <representation>
and <param>
child elements are processed.<resources>
base
attribute value is used to create a Website and one or more nested Resources.<resource>
child elements are processed.<resource>
id
and queryType
attributes are ignoredtype
attribute value is used to lookup <resource_type>
elements.path
attribute value is used to create another group of Resources under the base resources.<doc>
child elements are ignored.<param>
child elements are processed.
template
, matrix
, query
, header
.cookie
parameter style.local scope
flag set to true (not inherited by subresources).<param>
Each param element maps to a Parameter.
id
and href
attributes are used for cross-referencing.name
, default
and fixed
values are processed.
type
, path
, required
and repeating
attribute values are ignored.<doc>
, <option>
, and <link>
child elements are ignored.<method>
The method element maps to one or more Request Templates (one per request representation).
id
and href
attributes are used for cross-referencing.name
attribute is used for the Request Template method.<doc>
child elements are ignored.<request>
child element is processed.<response>
child elements are ignored.<request>
<doc>
child elements are ignored.<representation>
and <param>
child elements are processed.<representation>
Each representation under a method is mapped to a Request Template.
id
and href
attributes are used for cross-referencing.element
, and profile
attributes are ignored.mediaType
attribute is used when constructing the Request Template payload.<doc>
child elements are ignored.<param>
child elements are processed.
query
and plain
parameters here.query
style are used to populate URL-encoded and Multipart / Form Data payloads.plain
style are expected to appear anywhere in a text payload.<resource_type>
id
attribute is used for lookups – corresponds to the type
attribute of the <resource>
element.<doc>
child elements are ignored.<param>
child elements are processed.
header
and query
parameters here.<method>
and <resource>
child elements are processed.Last updated on 2023-12-05