MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / ApiRegistryDef

Class ApiRegistryDef

crates/openshell-prover/src/credentials.rs:37–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36#[derive(Debug, Deserialize)]
37struct ApiRegistryDef {
38 #[serde(default)]
39 api: String,
40 #[serde(default)]
41 host: String,
42 #[serde(default)]
43 port: u32,
44 #[serde(default)]
45 credential_type: String,
46 #[serde(default)]
47 scope_capabilities: HashMap<String, Vec<ApiActionDef>>,
48 #[serde(default)]
49 action_risk: HashMap<String, String>,
50}
51
52#[derive(Debug, Deserialize)]
53struct ApiActionDef {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected