]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ci(auth): API spec is now OpenAPI 3.1, no need to convert
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 30 Jan 2026 10:22:19 +0000 (11:22 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 23 Mar 2026 09:32:46 +0000 (10:32 +0100)
tasks.py

index 6815f4daf34bdcd743872a0a87c65a5009f590dc..1cfa82a973995dafce9c5776f749c876a057b5bb 100644 (file)
--- a/tasks.py
+++ b/tasks.py
@@ -1668,7 +1668,6 @@ def install_swagger_tools(c):
     c.run("sudo apt-get update && sudo apt-get install -y npm")
     c.run("sudo mkdir -p /usr/local/lib/node_modules && sudo chmod 777 /usr/local/lib/node_modules")
     c.run("npm install -g @stoplight/spectral-cli")
-    c.run("npm install -g api-spec-converter")
 
 
 @task
@@ -1676,9 +1675,6 @@ def swagger_syntax_check(c):
     c.run(
         "spectral lint --ruleset docs/http-api/swagger/spectral-ruleset.yaml --fail-severity error --display-only-failures docs/http-api/swagger/authoritative-api-swagger.yaml"
     )
-    c.run(
-        "api-spec-converter docs/http-api/swagger/authoritative-api-swagger.yaml -f swagger_2 -t openapi_3 -s json -c"
-    )
 
 
 @task