Skip to content

Commit ce327af

Browse files
feat(specs): add secrets authentications to ingestion (generated)
algolia/api-clients-automation#4054 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent da7ecc9 commit ce327af

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/algolia/models/ingestion/auth_input.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def openapi_one_of
1515
:"AuthAlgoliaInsights",
1616
:"AuthBasic",
1717
:"AuthGoogleServiceAccount",
18-
:"AuthOAuth"
18+
:"AuthOAuth",
19+
:"Hash<String, String>"
1920
]
2021
end
2122

lib/algolia/models/ingestion/authentication_type.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ class AuthenticationType
1212
OAUTH = "oauth".freeze
1313
ALGOLIA = "algolia".freeze
1414
ALGOLIA_INSIGHTS = "algoliaInsights".freeze
15+
SECRETS = "secrets".freeze
1516

1617
def self.all_vars
17-
@all_vars ||= [GOOGLE_SERVICE_ACCOUNT, BASIC, API_KEY, OAUTH, ALGOLIA, ALGOLIA_INSIGHTS].freeze
18+
@all_vars ||= [GOOGLE_SERVICE_ACCOUNT, BASIC, API_KEY, OAUTH, ALGOLIA, ALGOLIA_INSIGHTS, SECRETS].freeze
1819
end
1920

2021
# Builds the enum from string

0 commit comments

Comments
 (0)