Fix API specs and example for dns.upstreams in config.yaml

Replace "dnsmasq/upstreams" with the correct "dns/upstreams"

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2025-11-05 13:55:04 -03:00
committed by GitHub
parent d73944ac97
commit f5a2a1f216

View File

@@ -919,7 +919,7 @@ components:
error: error:
key: "bad_request" key: "bad_request"
message: "Invalid path depth" message: "Invalid path depth"
hint: "Use, e.g., DELETE /config/dnsmasq/upstreams/127.0.0.1 to remove \"127.0.0.1\" from config.dns.upstreams" hint: "Use, e.g., DELETE /config/dns/upstreams/127.0.0.1 to remove \"127.0.0.1\" from config.dns.upstreams"
took: 0.003 took: 0.003
item_already_present: item_already_present:
summary: Item to be added exists already summary: Item to be added exists already
@@ -946,7 +946,7 @@ components:
type: string type: string
required: true required: true
description: config element description: config element
example: "dnsmasq/upstreams" example: "dns/upstreams"
value: value:
in: path in: path
name: value name: value