]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs(auth): clean up swagger file a bit
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 19 Feb 2026 16:49:02 +0000 (17:49 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 23 Mar 2026 09:34:54 +0000 (10:34 +0100)
docs/http-api/swagger/authoritative-api-swagger.yaml

index aa2ebd8a3af6976ec389914ee2d40f8cebb74bac..c3f5ac4e81c4983551b31570089dd17c34b9b98c 100644 (file)
@@ -46,7 +46,7 @@ tags:
 #       We need to look at the code and figure out the default HTTP response
 #       codes and adjust docs accordingly.
 components:
-  schemas: &schemas
+  schemas:
     Server:
       $id: Server
       type: object
@@ -598,11 +598,13 @@ components:
       properties:
         result:
           type: string
+
   securitySchemes:
     APIKeyHeader:
       type: apiKey
       in: header
       name: X-API-Key
+
   responses: &commonErrors
     "400":
       description: The supplied request was not valid