diff --git a/Services/server/src/swagger.json b/Services/server/src/swagger.json index f2f9970..4bcff55 100644 --- a/Services/server/src/swagger.json +++ b/Services/server/src/swagger.json @@ -1116,7 +1116,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ตู้เอกสาร 1" }, { "in": "path", @@ -1124,7 +1125,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ลิ้นชัก 1" } ] }, @@ -1158,7 +1160,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ตู้เอกสาร 1" }, { "in": "path", @@ -1166,7 +1169,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ลิ้นชัก 1" } ], "requestBody": { @@ -1176,7 +1180,8 @@ "schema": { "properties": { "name": { - "type": "string" + "type": "string", + "example": "แฟ้ม 1" } }, "required": [ @@ -1217,7 +1222,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ตู้เอกสาร 1" }, { "in": "path", @@ -1225,7 +1231,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ลิ้นชัก 1" }, { "in": "path", @@ -1233,7 +1240,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "แฟ้ม 1" } ], "requestBody": { @@ -1243,7 +1251,8 @@ "schema": { "properties": { "name": { - "type": "string" + "type": "string", + "example": "แฟ้มใหม่" } }, "required": [ @@ -1279,7 +1288,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ตู้เอกสาร 1" }, { "in": "path", @@ -1287,7 +1297,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "ลิ้นชัก 1" }, { "in": "path", @@ -1295,7 +1306,8 @@ "required": true, "schema": { "type": "string" - } + }, + "example": "แฟ้ม 1" } ] }