diff --git a/openapi/hcloud.json b/openapi/hcloud.json index f1b4848..0d80047 100644 --- a/openapi/hcloud.json +++ b/openapi/hcloud.json @@ -6,7 +6,7 @@ "contact": { "url": "https://docs.hetzner.cloud/" }, - "version": "d4b9ef2-dirty" + "version": "6c1dad9-dirty" }, "servers": [ { @@ -2242,7 +2242,6 @@ "listen_port": { "description": "The listen port of the service you want to delete", "example": 4711, - "format": "int64", "type": "integer" } }, diff --git a/resources/document_transformations.json b/resources/document_transformations.json index 6200fd4..818fd12 100644 --- a/resources/document_transformations.json +++ b/resources/document_transformations.json @@ -306,5 +306,10 @@ "set": { "title": "Server ID" } + }, + + { + "path": ["components", "schemas", "delete_service_request", "properties", "listen_port"], + "remove": ["format"] } ] diff --git a/src/document/transformation.ts b/src/document/transformation.ts index ed1b0ef..72a4e12 100644 --- a/src/document/transformation.ts +++ b/src/document/transformation.ts @@ -30,7 +30,6 @@ function applyTransformation( if (transformation.remove !== undefined) { transformation.remove.forEach((name) => { - console.log(transformation.path, name); objectPath.del(document, transformation.path.concat([name])); }); }