Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-18 11:17:02 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-18 11:17:02 +0300
commitb39512ed755239198a9c294b6a45e65c05900235 (patch)
treed234a3efade1de67c46b9e5a38ce813627726aa7 /vendor/gems/error_tracking_open_api
parentd31474cf3b17ece37939d20082b07f6657cc79a9 (diff)
Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42
Diffstat (limited to 'vendor/gems/error_tracking_open_api')
-rw-r--r--vendor/gems/error_tracking_open_api/README.md18
-rw-r--r--vendor/gems/error_tracking_open_api/docs/ErrorsApi.md36
-rw-r--r--vendor/gems/error_tracking_open_api/docs/EventsApi.md27
-rw-r--r--vendor/gems/error_tracking_open_api/docs/ProjectsApi.md9
-rw-r--r--vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/errors_api.rb8
-rw-r--r--vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/events_api.rb6
-rw-r--r--vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/projects_api.rb2
-rw-r--r--vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api_client.rb1
-rw-r--r--vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/configuration.rb7
9 files changed, 96 insertions, 18 deletions
diff --git a/vendor/gems/error_tracking_open_api/README.md b/vendor/gems/error_tracking_open_api/README.md
index 18757e2e183..1d7c3df8526 100644
--- a/vendor/gems/error_tracking_open_api/README.md
+++ b/vendor/gems/error_tracking_open_api/README.md
@@ -1,4 +1,4 @@
-# Generated by `rake gems:error_tracking_open_api:generate` on 2022-07-14
+# Generated by `rake gems:error_tracking_open_api:generate` on 2022-07-18
See https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/development/rake_tasks.md#update-openapi-client-for-error-tracking-feature
@@ -60,6 +60,14 @@ Please follow the [installation](#installation) procedure and then run the follo
# Load the gem
require 'error_tracking_open_api'
+# Setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
+
api_instance = ErrorTrackingOpenAPI::ErrorsApi.new
project_id = 56 # Integer | ID of the project where the error was created
fingerprint = 56 # Integer | ID of the error that needs to be updated deleted
@@ -99,5 +107,11 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
- All endpoints do not require authorization.
+
+### internalToken
+
+
+- **Type**: API key
+- **API key parameter name**: Gitlab-Error-Tracking-Token
+- **Location**: HTTP header
diff --git a/vendor/gems/error_tracking_open_api/docs/ErrorsApi.md b/vendor/gems/error_tracking_open_api/docs/ErrorsApi.md
index 79d0c2a46de..b9b7d2f6421 100644
--- a/vendor/gems/error_tracking_open_api/docs/ErrorsApi.md
+++ b/vendor/gems/error_tracking_open_api/docs/ErrorsApi.md
@@ -21,6 +21,13 @@ Get information about the error
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::ErrorsApi.new
project_id = 56 # Integer | ID of the project where the error was created
@@ -66,7 +73,7 @@ end
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
@@ -85,6 +92,13 @@ List of errors
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::ErrorsApi.new
project_id = 56 # Integer | ID of the project where the error was created
@@ -140,7 +154,7 @@ end
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
@@ -159,6 +173,13 @@ Get information about the events related to the error
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::ErrorsApi.new
project_id = 56 # Integer | ID of the project where the error was created
@@ -212,7 +233,7 @@ end
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
@@ -231,6 +252,13 @@ Update the status of the error
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::ErrorsApi.new
project_id = 56 # Integer | ID of the project where the error was created
@@ -278,7 +306,7 @@ end
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
diff --git a/vendor/gems/error_tracking_open_api/docs/EventsApi.md b/vendor/gems/error_tracking_open_api/docs/EventsApi.md
index 3b4586be611..a9882fac515 100644
--- a/vendor/gems/error_tracking_open_api/docs/EventsApi.md
+++ b/vendor/gems/error_tracking_open_api/docs/EventsApi.md
@@ -20,6 +20,13 @@ Get information about the events related to the error
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::EventsApi.new
project_id = 56 # Integer | ID of the project where the error was created
@@ -73,7 +80,7 @@ end
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
@@ -92,6 +99,13 @@ Ingestion endpoint for error events sent from client SDKs
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::EventsApi.new
project_id = 56 # Integer | ID of the project where the error was created
@@ -135,7 +149,7 @@ end
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
@@ -154,6 +168,13 @@ Ingestion endpoint for error events sent from client SDKs
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::EventsApi.new
project_id = 56 # Integer | ID of the project where the error was created
@@ -197,7 +218,7 @@ end
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
diff --git a/vendor/gems/error_tracking_open_api/docs/ProjectsApi.md b/vendor/gems/error_tracking_open_api/docs/ProjectsApi.md
index e6397b23f8f..adcb4a84ad9 100644
--- a/vendor/gems/error_tracking_open_api/docs/ProjectsApi.md
+++ b/vendor/gems/error_tracking_open_api/docs/ProjectsApi.md
@@ -18,6 +18,13 @@ Deletes all project related data. Mostly for testing purposes and later for prod
```ruby
require 'time'
require 'error_tracking_open_api'
+# setup authorization
+ErrorTrackingOpenAPI.configure do |config|
+ # Configure API key authorization: internalToken
+ config.api_key['internalToken'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ # config.api_key_prefix['internalToken'] = 'Bearer'
+end
api_instance = ErrorTrackingOpenAPI::ProjectsApi.new
id = 56 # Integer | ID of the project
@@ -60,7 +67,7 @@ nil (empty response body)
### Authorization
-No authorization required
+[internalToken](../README.md#internalToken)
### HTTP request headers
diff --git a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/errors_api.rb b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/errors_api.rb
index f21d3c51baf..992d37abb6c 100644
--- a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/errors_api.rb
+++ b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/errors_api.rb
@@ -67,7 +67,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type] || 'Error'
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"ErrorsApi.get_error",
@@ -159,7 +159,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type] || 'Array<Error>'
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"ErrorsApi.list_errors",
@@ -247,7 +247,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type] || 'Array<ErrorEvent>'
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"ErrorsApi.list_events",
@@ -325,7 +325,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type] || 'Error'
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"ErrorsApi.update_error",
diff --git a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/events_api.rb b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/events_api.rb
index 49e2af7bb64..48e9375b266 100644
--- a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/events_api.rb
+++ b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/events_api.rb
@@ -88,7 +88,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type] || 'Array<ErrorEvent>'
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"EventsApi.list_events",
@@ -149,7 +149,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type] || 'ErrorEvent'
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"EventsApi.projects_api_project_id_envelope_post",
@@ -210,7 +210,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type] || 'ErrorEvent'
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"EventsApi.projects_api_project_id_store_post",
diff --git a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/projects_api.rb b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/projects_api.rb
index 15ebe6efc35..781b1a17512 100644
--- a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/projects_api.rb
+++ b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api/projects_api.rb
@@ -59,7 +59,7 @@ module ErrorTrackingOpenAPI
return_type = opts[:debug_return_type]
# auth_names
- auth_names = opts[:debug_auth_names] || []
+ auth_names = opts[:debug_auth_names] || ['internalToken']
new_options = opts.merge(
:operation => :"ProjectsApi.delete_project",
diff --git a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api_client.rb b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api_client.rb
index e2dedf57925..02118a56a3a 100644
--- a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api_client.rb
+++ b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/api_client.rb
@@ -95,6 +95,7 @@ module ErrorTrackingOpenAPI
form_params = opts[:form_params] || {}
follow_location = opts[:follow_location] || true
+ update_params_for_auth! header_params, query_params, opts[:auth_names]
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
diff --git a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/configuration.rb b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/configuration.rb
index c27c0aa3bb9..6855082c17b 100644
--- a/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/configuration.rb
+++ b/vendor/gems/error_tracking_open_api/lib/error_tracking_open_api/configuration.rb
@@ -216,6 +216,13 @@ module ErrorTrackingOpenAPI
# Returns Auth Settings hash for api client.
def auth_settings
{
+ 'internalToken' =>
+ {
+ type: 'api_key',
+ in: 'header',
+ key: 'Gitlab-Error-Tracking-Token',
+ value: api_key_with_prefix('internalToken')
+ },
}
end