]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
adjust swagger 15621/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 24 Jun 2025 11:30:01 +0000 (13:30 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 24 Jun 2025 11:30:01 +0000 (13:30 +0200)
docs/http-api/swagger/authoritative-api-swagger.yaml

index 0be561ce52606211da249a6b7c5761b015b5bf9d..46f7188f259a9e4bb667e209efa4e21eaa352fc5 100644 (file)
@@ -1078,9 +1078,9 @@ paths:
           description: The length of the network prefix
       responses:
         '200':
-          description: An array of networks
+          description: A network
           schema:
-            $ref: '#/definitions/Networks'
+            $ref: '#/definitions/Network'
         <<: *commonErrors
     put:
       summary: Sets the view associated to the given network