From aa9ba65f7076a251e5f47af3f2789fcf212e0c01 Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 28 Jul 2021 10:40:17 +0200 Subject: [PATCH] comment changes --- src/test/test.cpp | 3 +++ src/web/WebAPIService.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/test.cpp b/src/test/test.cpp index 16b73f49f..019a56ef9 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -947,6 +947,9 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { request.url("/api/system/commands"); EMSESP::webAPIService.webAPIService_get(&request); + request.url("/api/boiler/info"); + EMSESP::webAPIService.webAPIService_get(&request); + // POST request.method(HTTP_POST); request.url("/api/system/commands"); diff --git a/src/web/WebAPIService.cpp b/src/web/WebAPIService.cpp index f0d0002b5..c2452c167 100644 --- a/src/web/WebAPIService.cpp +++ b/src/web/WebAPIService.cpp @@ -126,7 +126,7 @@ void WebAPIService::parse(AsyncWebServerRequest * request, std::string & device_ id_n = Helpers::atoint(request->getParam("hc")->value().c_str()); } } else { - // parse paths and json data + // parse paths and json data from the OpenAPI standard // /{device}[/{hc}][/{name}] // first param must be a valid device, which includes "system" device_s = p.paths().front();