The 200 schemas of /osd/delete and /osd/modify are objects but carried
"format": "uint64" and "description": "New OSD number" at schema level,
copied from /osd/alloc where the response really is a number.
Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com>
Added description to the 30 responses that lacked it: the 200 of every
operation and the inline 412 of /osd/delete and /data/delete. OpenAPI 3.0
requires it.
Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com>
Removed 48 occurrences. OpenAPI 3.0 has no such fields and the media
types are already declared in requestBody.content and responses.*.content.
Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com>
The schema required "names", which it does not define. The handler reads
cfg["image"] (src/cmd/cli_flatten.cpp:141).
Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com>