]> granicus.if.org Git - pdns/commitdiff
Swagger: fix definition for putTSIGKey operation
authorChris Boot <bootc@bootc.net>
Sun, 16 Dec 2018 14:12:54 +0000 (14:12 +0000)
committerChris Boot <bootc@bootc.net>
Sun, 16 Dec 2018 14:12:54 +0000 (14:12 +0000)
`properties` is not valid within the `parameters` specification; it
looks like it should be `schema` instead.

docs/http-api/swagger/authoritative-api-swagger.yaml

index b96dbe0558273c40e64fe1f532b5b04a4a782f67..57382c3080b154c3fd7137b20e581b0f8d79eba5 100644 (file)
@@ -809,7 +809,7 @@ paths:
       parameters:
         - name: tsigkey
           description: A (possibly stripped down) TSIGKey object with the new values
-          properties:
+          schema:
             $ref: '#/definitions/TSIGKey'
           in: body
           required: true