From 15c58cc8bc7ab90f1351591fd508b4213ba1d7f2 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Mon, 27 Jan 2020 07:22:08 +1100 Subject: [PATCH] README code examples should use consistent json returns --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0944fe9..69fb5dc 100644 --- a/README.md +++ b/README.md @@ -38,17 +38,17 @@ This endpoint shall return a json struct containing interfaces, and IP addresses ``` { "Interfaces":[ - { - "Name":"eth0", - "Addresses":[ - "10.0.0.1/32", - "10.0.1.100/24" + { + "Name":"eth0", + "Addresses":[ + "10.0.0.1/32", + "10.0.1.100/24" ] }, { - "Name":"wg0", - "Addresses":[ - "192.168.0.1/24" + "Name":"wg0", + "Addresses":[ + "192.168.0.1/24" ] } ] @@ -74,8 +74,8 @@ This shall return a struct, describing the current tea making capabilities of th ``` { - "tea" : "available", - "height" : "short", - "width" : "stout + "tea":"available", + "height":"short", + "width":"stout } ```