From 72abce14b00dd2a3b0844920b96517116c9cb1c0 Mon Sep 17 00:00:00 2001 From: wangkf Date: Tue, 14 Mar 2017 12:51:15 +0800 Subject: [PATCH] Fix typos of filename in api-ref Typo is fixed and port-list-response.json is updated. Closes-Bug: 1672358 Change-Id: Iffe385d705e607966ac00455d56aaac85a1a1e69 --- api-ref/regenerate-samples.sh | 2 +- api-ref/source/samples/port-list-respone.json | 18 ----------- .../source/samples/port-list-response.json | 32 +++++++++---------- 3 files changed, 17 insertions(+), 35 deletions(-) delete mode 100644 api-ref/source/samples/port-list-respone.json diff --git a/api-ref/regenerate-samples.sh b/api-ref/regenerate-samples.sh index 836f224948..768af4780c 100755 --- a/api-ref/regenerate-samples.sh +++ b/api-ref/regenerate-samples.sh @@ -208,7 +208,7 @@ else echo "Port created. UUID: $PID" fi -GET v1/ports > port-list-respone.json +GET v1/ports > port-list-response.json GET v1/ports/detail > port-list-detail-response.json PATCH v1/ports/$PID port-update-request.json > port-update-response.json diff --git a/api-ref/source/samples/port-list-respone.json b/api-ref/source/samples/port-list-respone.json deleted file mode 100644 index 0780618565..0000000000 --- a/api-ref/source/samples/port-list-respone.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "ports": [ - { - "address": "11:11:11:11:11:11", - "links": [ - { - "href": "http://127.0.0.1:6385/v1/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1", - "rel": "self" - }, - { - "href": "http://127.0.0.1:6385/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1", - "rel": "bookmark" - } - ], - "uuid": "d2b30520-907d-46c8-bfee-c5586e6fb3a1" - } - ] -} diff --git a/api-ref/source/samples/port-list-response.json b/api-ref/source/samples/port-list-response.json index b1c30132a3..0780618565 100644 --- a/api-ref/source/samples/port-list-response.json +++ b/api-ref/source/samples/port-list-response.json @@ -1,18 +1,18 @@ { - "ports" : [ - { - "address" : "11:11:11:11:11:11", - "uuid" : "c933a251-486f-4c27-adb2-8b5f59bd9cd2", - "links" : [ - { - "rel" : "self", - "href" : "http://127.0.0.1:6385/v1/ports/c933a251-486f-4c27-adb2-8b5f59bd9cd2" - }, - { - "rel" : "bookmark", - "href" : "http://127.0.0.1:6385/ports/c933a251-486f-4c27-adb2-8b5f59bd9cd2" - } - ] - } - ] + "ports": [ + { + "address": "11:11:11:11:11:11", + "links": [ + { + "href": "http://127.0.0.1:6385/v1/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1", + "rel": "self" + }, + { + "href": "http://127.0.0.1:6385/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1", + "rel": "bookmark" + } + ], + "uuid": "d2b30520-907d-46c8-bfee-c5586e6fb3a1" + } + ] }