MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / rpc_error_schema

Function rpc_error_schema

ra-rpc/src/openapi.rs:421–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

419}
420
421fn rpc_error_schema() -> Value {
422 json!({
423 "type": "object",
424 "properties": {
425 "error": { "type": "string" }
426 },
427 "required": ["error"]
428 })
429}
430
431fn normalize_mount_path(path: &str) -> String {
432 if path.is_empty() {

Callers 1

generate_documentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected