From 442c8e8a1c6393586dc820c1ac462a92c844911a Mon Sep 17 00:00:00 2001 From: "Mark T. Voelker" Date: Wed, 14 Sep 2016 21:43:43 -0400 Subject: [PATCH] Fix missing JSON response in API reference Currently, the API reference is showing a blank sample response for the v2 "List API Versions" call [1]. That appears to be because the sample file it includes is "versions-resp.json" which exists, but is 0 bytes (completely empty). There is also a "versions-response.json" file present in the samples directory, which appears to contain a valid JSON reply. This patch fixes the problem by removing the 0-byte sample file and pointing to the correct one. [1] http://developer.openstack.org/api-ref/block-storage/v2/#list-api-versions Change-Id: If2c1b486229681f68ba4ab0c13307de4599d9b72 Closes-Bug: #1623744 --- api-ref/source/v2/api-versions.inc | 2 +- api-ref/source/v2/samples/versions-resp.json | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 api-ref/source/v2/samples/versions-resp.json diff --git a/api-ref/source/v2/api-versions.inc b/api-ref/source/v2/api-versions.inc index 6f7ba7bc6..7ad907786 100644 --- a/api-ref/source/v2/api-versions.inc +++ b/api-ref/source/v2/api-versions.inc @@ -22,7 +22,7 @@ Response **Example List Api Versions: JSON request** -.. literalinclude:: ./samples/versions-resp.json +.. literalinclude:: ./samples/versions-response.json :language: javascript **Example List Api Versions: XML request** diff --git a/api-ref/source/v2/samples/versions-resp.json b/api-ref/source/v2/samples/versions-resp.json deleted file mode 100644 index e69de29bb..000000000