From 2ff03c20fda951c90627e73ad8006257df59b8da Mon Sep 17 00:00:00 2001
From: Arnaud Gourlay
Date: Thu, 5 May 2022 07:39:57 +0200
Subject: [PATCH] fix typo in openapi spec (#558)
---
docs/redoc/master/openapi.json | 2 +-
lib/segment/src/types.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/redoc/master/openapi.json b/docs/redoc/master/openapi.json
index aa0e85556a3..2a5c26fbd36 100644
--- a/docs/redoc/master/openapi.json
+++ b/docs/redoc/master/openapi.json
@@ -692,7 +692,7 @@
"type": "array"
},
"should": {
- "description": "At least one of thous conditions should match",
+ "description": "At least one of those conditions should match",
"items": {
"$ref": "#/components/schemas/Condition"
},
diff --git a/lib/segment/src/types.rs b/lib/segment/src/types.rs
index 30169f15be4..a3b30153d82 100644
--- a/lib/segment/src/types.rs
+++ b/lib/segment/src/types.rs
@@ -963,7 +963,7 @@ pub struct WithPayload {
#[serde(deny_unknown_fields)]
#[serde(rename_all = "snake_case")]
pub struct Filter {
- /// At least one of thous conditions should match
+ /// At least one of those conditions should match
pub should: Option>,
/// All conditions must match
pub must: Option>,