]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - docs/http-api/swagger/authoritative-api-swagger.yaml
auth: Add /api/docs endpoint to obtain OpenAPI document
[thirdparty/pdns.git] / docs / http-api / swagger / authoritative-api-swagger.yaml
index 42b0a431f2dfd7b04ce8cc1459417470e2b79968..1fa5c67cf51898ef8a1b24c75bc4bb87c9b61c73 100644 (file)
@@ -4,10 +4,7 @@ info:
   title: PowerDNS Authoritative HTTP API
   license:
     name: MIT
-host: localhost:8081
 basePath: /api/v1
-schemes:
-  - http
 consumes:
   - application/json
 produces:
@@ -406,9 +403,9 @@ paths:
           schema:
             type: array
             items:
-            - $ref: '#/definitions/StatisticItem'
-            - $ref: '#/definitions/MapStatisticItem'
-            - $ref: '#/definitions/RingStatisticItem'
+              - $ref: '#/definitions/StatisticItem'
+              - $ref: '#/definitions/MapStatisticItem'
+              - $ref: '#/definitions/RingStatisticItem'
         '422':
           description: 'Returned when a non-existing statistic name has been requested. Contains an error message'