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

Method render

ra-rpc/src/openapi.rs:132–138  ·  view source on GitHub ↗
(&self, spec_url: &str)

Source from the content-addressed store, hash-verified

130 }
131
132 pub(crate) fn render(&self, spec_url: &str) -> RenderedDoc {
133 let html = build_swagger_ui_html(spec_url, &self.ui);
134 RenderedDoc {
135 spec: self.spec.clone(),
136 ui_html: html,
137 }
138 }
139}
140
141#[derive(Default)]

Callers 5

mount_openapi_docsFunction · 0.80
indexFunction · 0.80
metricsFunction · 0.80
generate_wg_configMethod · 0.80
indexFunction · 0.80

Calls 2

build_swagger_ui_htmlFunction · 0.85
cloneMethod · 0.80

Tested by

no test coverage detected