Commit 4ea4de4
committed
fix(api-types): Allow empty domain description
description is Option<String>; validator's length(min=1) fired on
Some("") the same as an actual too-short value, rejecting the empty
string devstack sends on its idempotent domain-create/update calls
with a 400. Drop the min bound, keep max=255.
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>1 parent 2137281 commit 4ea4de4
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments