mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 17:11:15 +08:00
fix after rebase
This commit is contained in:
parent
deb90ff573
commit
89a4ac92eb
@ -79,7 +79,6 @@ async fn get_features(
|
|||||||
#[deserr(error = DeserrJsonError, rename_all = camelCase, deny_unknown_fields)]
|
#[deserr(error = DeserrJsonError, rename_all = camelCase, deny_unknown_fields)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
#[schema(rename_all = "camelCase")]
|
#[schema(rename_all = "camelCase")]
|
||||||
#[serde(rename_all = "camelCase")]
|
|
||||||
pub struct RuntimeTogglableFeatures {
|
pub struct RuntimeTogglableFeatures {
|
||||||
#[deserr(default)]
|
#[deserr(default)]
|
||||||
pub metrics: Option<bool>,
|
pub metrics: Option<bool>,
|
||||||
@ -146,7 +145,6 @@ impl Aggregate for PatchExperimentalFeatureAnalytics {
|
|||||||
security(("Bearer" = ["experimental_features.update", "experimental_features.*", "*"])),
|
security(("Bearer" = ["experimental_features.update", "experimental_features.*", "*"])),
|
||||||
responses(
|
responses(
|
||||||
(status = OK, description = "Experimental features are returned", body = RuntimeTogglableFeatures, content_type = "application/json", example = json!(RuntimeTogglableFeatures {
|
(status = OK, description = "Experimental features are returned", body = RuntimeTogglableFeatures, content_type = "application/json", example = json!(RuntimeTogglableFeatures {
|
||||||
vector_store: Some(true),
|
|
||||||
metrics: Some(true),
|
metrics: Some(true),
|
||||||
logs_route: Some(false),
|
logs_route: Some(false),
|
||||||
edit_documents_by_function: Some(false),
|
edit_documents_by_function: Some(false),
|
||||||
|
Loading…
Reference in New Issue
Block a user