From: Peter van Dijk Date: Mon, 17 Jan 2022 14:21:40 +0000 (+0100) Subject: auth swagger: fix autoprimary format X-Git-Tag: auth-4.7.0-alpha1~62^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b79221666f4bfcea6bfccc3e9754c8df59406eb;p=thirdparty%2Fpdns.git auth swagger: fix autoprimary format --- diff --git a/docs/http-api/swagger/authoritative-api-swagger.yaml b/docs/http-api/swagger/authoritative-api-swagger.yaml index 3761061858..bc853526f0 100644 --- a/docs/http-api/swagger/authoritative-api-swagger.yaml +++ b/docs/http-api/swagger/authoritative-api-swagger.yaml @@ -889,24 +889,12 @@ paths: tags: - autoprimary parameters: - - name: ip - description: IP address for autoprimary server + - name: autoprimary + description: autoprimary entry to add required: true in: body schema: $ref: '#/definitions/Autoprimary' - - name: nameserver - description: DNS name for autoprimary server - required: true - in: body - schema: - $ref: '#/definitions/Autoprimary' - - name: account - description: Optional account name - required: false - in: body - schema: - $ref: '#/definitions/Autoprimary' responses: '201': description: Created