MCPcopy Create free account
hub / github.com/cosdata/cosdata / api_info

Function api_info

src/api/openapi.rs:3–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use utoipa::{openapi, OpenApi};
2
3fn api_info() -> openapi::Info {
4 openapi::InfoBuilder::new()
5 .title("Cosdata API")
6 .version(env!("CARGO_PKG_VERSION"))
7 .description(Some("Cosdata Vector Database API\n\nAPI description for Cosdata vector search engine.\n\nThis document describes CRUD and search operations on collections of points (vectors with payload)."))
8 .contact(Some(
9 openapi::ContactBuilder::new()
10 .email(Some("info@cosdata.io"))
11 .url(Some("https://cosdata.io"))
12 .build(),
13 ))
14 .license(Some(
15 openapi::LicenseBuilder::new()
16 .name("Apache 2.0")
17 .url(Some("https://www.apache.org/licenses/LICENSE-2.0"))
18 .build(),
19 ))
20 .build()
21}
22
23/// API documentation for authentication endpoints
24#[derive(OpenApi)]

Callers 1

modifyMethod · 0.85

Calls 2

versionMethod · 0.80
nameMethod · 0.80

Tested by

no test coverage detected