Skip to content

Commit

Permalink
feat(specs): add secrets authentications to ingestion (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4054

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Oct 30, 2024
1 parent da7ecc9 commit ce327af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/algolia/models/ingestion/auth_input.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def openapi_one_of
:"AuthAlgoliaInsights",
:"AuthBasic",
:"AuthGoogleServiceAccount",
:"AuthOAuth"
:"AuthOAuth",
:"Hash<String, String>"
]
end

Expand Down
3 changes: 2 additions & 1 deletion lib/algolia/models/ingestion/authentication_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ class AuthenticationType
OAUTH = "oauth".freeze
ALGOLIA = "algolia".freeze
ALGOLIA_INSIGHTS = "algoliaInsights".freeze
SECRETS = "secrets".freeze

def self.all_vars
@all_vars ||= [GOOGLE_SERVICE_ACCOUNT, BASIC, API_KEY, OAUTH, ALGOLIA, ALGOLIA_INSIGHTS].freeze
@all_vars ||= [GOOGLE_SERVICE_ACCOUNT, BASIC, API_KEY, OAUTH, ALGOLIA, ALGOLIA_INSIGHTS, SECRETS].freeze
end

# Builds the enum from string
Expand Down

0 comments on commit ce327af

Please sign in to comment.