Skip to content

Commit

Permalink
fix: last review
Browse files Browse the repository at this point in the history
  • Loading branch information
damcou committed Dec 16, 2021
1 parent 7d4ab3d commit ea0ea0c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,19 @@ export type ApiKey = {

export namespace ApiKey {
export enum AclEnum {
Search = 'search',
Browse = 'browse',
AddObject = 'addObject',
Analytics = 'analytics',
Browse = 'browse',
DeleteObject = 'deleteObject',
DeleteIndex = 'deleteIndex',
Settings = 'settings',
EditSettings = 'editSettings',
Analytics = 'analytics',
Recommendation = 'recommendation',
ListIndexes = 'listIndexes',
Logs = 'logs',
Personalization = 'personalization',
Recommendation = 'recommendation',
Search = 'search',
SeeUnretrievableAttributes = 'seeUnretrievableAttributes',
Settings = 'settings',
Usage = 'usage',
}
}
12 changes: 7 additions & 5 deletions specs/search/paths/keys/common/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@ apiKey:
type: string
enum:
[
'search',
'browse',
'addObject',
'analytics',
'browse',
'deleteObject',
'deleteIndex',
'settings',
'editSettings',
'analytics',
'recommendation',
'listIndexes',
'logs',
'personalization',
'recommendation',
'search',
'seeUnretrievableAttributes',
'settings',
'usage',
]
description:
type: string
Expand Down
1 change: 0 additions & 1 deletion tests/CTS/clients/search/deleteApiKey.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@
}
}
]

1 change: 0 additions & 1 deletion tests/CTS/clients/search/getApiKey.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@
}
}
]

0 comments on commit ea0ea0c

Please sign in to comment.