Skip to content

Commit 27ee237

Browse files
authored
fix(schemas): remove unretrievableAttributes from searchParams (#988)
1 parent d3a2637 commit 27ee237

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Read the guides and requirements to:
6262

6363
Test the generated clients by running:
6464

65-
- The [`playground`](./playground) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/playground.md))
66-
- The [`Common Test Suite`](./tests/) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/common-test-suite.md)).
65+
- The [`playground`](./playground) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/playground))
66+
- The [`Common Test Suite`](./tests/) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/common-test-suite)).
6767

6868
For full documentation, visit the **[online documentation](https://api-clients-automation.netlify.app/docs/contributing/introduction)**.
6969

specs/common/schemas/IndexSettings.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ baseIndexSettings:
2020
type: integer
2121
description: Set the maximum number of hits accessible via pagination.
2222
default: 1000
23+
unretrievableAttributes:
24+
type: array
25+
items:
26+
type: string
27+
description: List of attributes that can't be retrieved at query time.
28+
default: []
29+
x-categories:
30+
- Attributes
2331
disableTypoToleranceOnWords:
2432
type: array
2533
items:
@@ -117,14 +125,6 @@ indexSettingsAsSearchParams:
117125
default: []
118126
x-categories:
119127
- Faceting
120-
unretrievableAttributes:
121-
type: array
122-
items:
123-
type: string
124-
description: List of attributes that can't be retrieved at query time.
125-
default: []
126-
x-categories:
127-
- Attributes
128128
attributesToRetrieve:
129129
type: array
130130
items:

tests/CTS/methods/requests/search/search.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,6 @@
357357
"attributesForFaceting": [
358358
""
359359
],
360-
"unretrievableAttributes": [
361-
""
362-
],
363360
"attributesToRetrieve": [
364361
""
365362
],
@@ -514,9 +511,6 @@
514511
"attributesForFaceting": [
515512
""
516513
],
517-
"unretrievableAttributes": [
518-
""
519-
],
520514
"attributesToRetrieve": [
521515
""
522516
],

0 commit comments

Comments
 (0)