From d2748663a6d4544f88d154124547e0de4cebb1da Mon Sep 17 00:00:00 2001
From: Erwan Rouchet <rouchet@teklia.com>
Date: Fri, 2 Aug 2019 12:27:49 +0200
Subject: [PATCH] Allow setting image widths and heights

---
 arkindex/schema.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arkindex/schema.yml b/arkindex/schema.yml
index ab655a6..537efd9 100644
--- a/arkindex/schema.yml
+++ b/arkindex/schema.yml
@@ -2985,11 +2985,15 @@ paths:
                   type: string
                 hash:
                   type: string
+                height:
+                  type: integer
                 path:
                   type: string
                 server:
                   type: integer
                   writeOnly: true
+                width:
+                  type: integer
               required:
               - hash
         x-name: body
@@ -3005,7 +3009,6 @@ paths:
                   hash:
                     type: string
                   height:
-                    readOnly: true
                     type: integer
                   id:
                     readOnly: true
@@ -3028,7 +3031,6 @@ paths:
                     readOnly: true
                     type: string
                   width:
-                    readOnly: true
                     type: integer
                 required:
                 - hash
-- 
GitLab