Add ping endpoint
This commit is contained in:
parent
66fbdbf368
commit
a67bac63b6
3 changed files with 18 additions and 0 deletions
|
|
@ -52,6 +52,12 @@ impl From<StoredDocumentVersion> for DocumentVersionWithoutContent {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, JsonSchema)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct PingResponse {
|
||||
pub server_version: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, JsonSchema)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct DocumentVersion {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue