diff --git a/backend/schema/paths/nginx/certificates/certID/upload/post.json b/backend/schema/paths/nginx/certificates/certID/upload/post.json index f38b8102..711e16c4 100644 --- a/backend/schema/paths/nginx/certificates/certID/upload/post.json +++ b/backend/schema/paths/nginx/certificates/certID/upload/post.json @@ -30,13 +30,16 @@ "required": ["certificate", "certificate_key"], "properties": { "certificate": { - "type": "string" + "type": "string", + "format": "binary" }, "certificate_key": { - "type": "string" + "type": "string", + "format": "binary" }, "intermediate_certificate": { - "type": "string" + "type": "string", + "format": "binary" } } } diff --git a/backend/schema/paths/nginx/certificates/validate/post.json b/backend/schema/paths/nginx/certificates/validate/post.json index 21eb325e..f8f9531d 100644 --- a/backend/schema/paths/nginx/certificates/validate/post.json +++ b/backend/schema/paths/nginx/certificates/validate/post.json @@ -18,13 +18,16 @@ "required": ["certificate", "certificate_key"], "properties": { "certificate": { - "type": "string" + "type": "string", + "format": "binary" }, "certificate_key": { - "type": "string" + "type": "string", + "format": "binary" }, "intermediate_certificate": { - "type": "string" + "type": "string", + "format": "binary" } } }