From fc9a90cb7704e3729a966730ebc6eb018c9d3b37 Mon Sep 17 00:00:00 2001 From: Joakim Berglund Date: Fri, 10 Jul 2026 11:41:43 +0200 Subject: [PATCH] Use nested group member label structure --- doc/EXAMPLES.md | 4 ++-- src/api/api.go | 29 ++++++++++++++++++++--------- src/api/api_test.go | 27 +++++++++++++++++++++++++++ src/docs/docs.go | 16 ++++++++++++---- src/docs/swagger.json | 18 +++++++++++++----- 5 files changed, 74 insertions(+), 20 deletions(-) create mode 100644 src/api/api_test.go diff --git a/doc/EXAMPLES.md b/doc/EXAMPLES.md index 11c235c..3ae3f47 100644 --- a/doc/EXAMPLES.md +++ b/doc/EXAMPLES.md @@ -119,11 +119,11 @@ e.g: Updates the member label for the registered number in the given group. The group id can be obtained via the "List groups" REST call. - `curl -X PUT -H "Content-Type: application/json" -d '{"member_label": "