Merge pull request #83 from dwcramer/fixEmptyRequestResponseBug
Fix empty request response bug
This commit is contained in:
12
README.rst
12
README.rst
@@ -29,7 +29,17 @@ How Tos
|
||||
Release Notes
|
||||
=============
|
||||
|
||||
clouddocs-maven-plugin 1.10.0
|
||||
clouddocs-maven-plugin 1.10.1-SNAPSHOT
|
||||
============================================================
|
||||
- Add "Log a bug" link to OpenStack output.
|
||||
- Bug fixes
|
||||
- Empty Request or Response sections sometimes created if an incomplete wadl was processed.
|
||||
- Reduce noise on stdout and improve ability to debug XProc pipelines (when run with --debug)
|
||||
- Use Calabash 1.0.13-94 for XProc piplines.
|
||||
- In api-ref page xslts, adjust xpath expressions to account for changes in wadl-tools.
|
||||
|
||||
|
||||
clouddocs-maven-plugin 1.10.0 (September 17, 2013)
|
||||
============================================================
|
||||
- New formatting for api-ref.html output
|
||||
- Refactored API reference page layout to include plain parameters and longform doc of media type.
|
||||
|
||||
@@ -309,6 +309,7 @@
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<!-- <xsl:copy-of select="wadl:doc/db:*[not(@role='shortdesc')] | wadl:doc/processing-instruction()" xmlns:db="http://docbook.org/ns/docbook" />-->
|
||||
<xsl:variable name="requestSection">
|
||||
<section xml:id="{$sectionIdComputed}-Request">
|
||||
<title>Request</title>
|
||||
<!-- About the request -->
|
||||
@@ -356,6 +357,8 @@
|
||||
<xsl:copy-of select="$wadl.norequest.msg"/>
|
||||
</xsl:if>
|
||||
</section>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="responseSection">
|
||||
<section xml:id="{$sectionIdComputed}-Response">
|
||||
<title>Response</title>
|
||||
<!-- About the response -->
|
||||
@@ -381,6 +384,13 @@
|
||||
<xsl:copy-of select="$wadl.noresponse.msg"/>
|
||||
</xsl:if>
|
||||
</section>
|
||||
</xsl:variable>
|
||||
<xsl:if test="$requestSection//d:section/*[not(self::d:title)]">
|
||||
<xsl:copy-of select="$requestSection"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="$responseSection//d:section/*[not(self::d:title)]">
|
||||
<xsl:copy-of select="$responseSection"/>
|
||||
</xsl:if>
|
||||
</section>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user