| 35 | |
| 36 | #[derive(Debug, Deserialize)] |
| 37 | struct 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)] |
| 53 | struct ApiActionDef { |
nothing calls this directly
no outgoing calls
no test coverage detected