docs: build api-viewer from widget-toolkit-dev

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2021-06-04 14:35:30 +02:00
committed by Thomas Lamprecht
parent d738669066
commit 85417b2a88
3 changed files with 8 additions and 529 deletions

View File

@ -92,7 +92,7 @@ fn generate_api_tree() -> String {
data["text"] = "Restore API (HTTP/2)".into();
tree.push(data);
format!("var pbsapi = {};", serde_json::to_string_pretty(&tree).unwrap())
format!("var apiSchema = {};", serde_json::to_string_pretty(&tree).unwrap())
}
pub fn dump_schema(schema: &Schema) -> Value {