composePublicURL has invalid wadl

Bug #2047064 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

The function returns a JSON string object directly, rather than e.g. using a dict.

See https://api.launchpad.net/devel/~bzr-pqm/bzr/bzr.dev?ws.op=composePublicURL&scheme=http

The WADL doesn't indicate that the function returns anything:

      <wadl:method id="branch-composePublicURL" name="GET">
        <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
<p>Return a public URL for the branch using the given protocol.</p>
<table class="rst-docutils field-list" frame="void" rules="none">
<col class="field-name"/>
<col class="field-body"/>
<tbody valign="top">
<tr class="rst-field"><th class="rst-field-name">param scheme:</th><td class="rst-field-body">a protocol name accepted by the public
code-hosting API. (As a legacy issue, 'sftp' is also
accepted).</td>
</tr>
</tbody>
</table>

</wadl:doc>
        <wadl:request>

            <wadl:param style="query" name="ws.op" required="true" fixed="composePublicURL"/>
            <wadl:param style="query" name="scheme" required="true">
              <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
URL scheme
</wadl:doc>

            </wadl:param>

        </wadl:request>

      </wadl:method>

Tags: wadl
Jelmer Vernooij (jelmer)
tags: added: wadl
Jürgen Gmach (jugmac00)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.