togglr-sdk 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/togglr/client.rb +11 -17
- data/lib/togglr/version.rb +1 -1
- metadata +1 -51
- data/generated/Gemfile +0 -9
- data/generated/README.md +0 -121
- data/generated/Rakefile +0 -10
- data/generated/docs/DefaultApi.md +0 -282
- data/generated/docs/Error.md +0 -18
- data/generated/docs/ErrorBadRequest.md +0 -18
- data/generated/docs/ErrorError.md +0 -18
- data/generated/docs/ErrorInternalServerError.md +0 -18
- data/generated/docs/ErrorNotFound.md +0 -18
- data/generated/docs/ErrorPermissionDenied.md +0 -18
- data/generated/docs/ErrorTooManyRequests.md +0 -18
- data/generated/docs/ErrorUnauthorized.md +0 -18
- data/generated/docs/EvaluateResponse.md +0 -22
- data/generated/docs/FeatureErrorReport.md +0 -22
- data/generated/docs/FeatureHealth.md +0 -30
- data/generated/docs/HealthResponse.md +0 -20
- data/generated/git_push.sh +0 -57
- data/generated/lib/togglr-client/api/default_api.rb +0 -284
- data/generated/lib/togglr-client/api_client.rb +0 -437
- data/generated/lib/togglr-client/api_error.rb +0 -58
- data/generated/lib/togglr-client/configuration.rb +0 -392
- data/generated/lib/togglr-client/models/error.rb +0 -237
- data/generated/lib/togglr-client/models/error_bad_request.rb +0 -244
- data/generated/lib/togglr-client/models/error_error.rb +0 -220
- data/generated/lib/togglr-client/models/error_internal_server_error.rb +0 -244
- data/generated/lib/togglr-client/models/error_not_found.rb +0 -244
- data/generated/lib/togglr-client/models/error_permission_denied.rb +0 -244
- data/generated/lib/togglr-client/models/error_too_many_requests.rb +0 -244
- data/generated/lib/togglr-client/models/error_unauthorized.rb +0 -244
- data/generated/lib/togglr-client/models/evaluate_response.rb +0 -289
- data/generated/lib/togglr-client/models/feature_error_report.rb +0 -274
- data/generated/lib/togglr-client/models/feature_health.rb +0 -342
- data/generated/lib/togglr-client/models/health_response.rb +0 -287
- data/generated/lib/togglr-client/version.rb +0 -15
- data/generated/lib/togglr-client.rb +0 -52
- data/generated/spec/api/default_api_spec.rb +0 -81
- data/generated/spec/models/error_bad_request_spec.rb +0 -36
- data/generated/spec/models/error_error_spec.rb +0 -36
- data/generated/spec/models/error_internal_server_error_spec.rb +0 -36
- data/generated/spec/models/error_not_found_spec.rb +0 -36
- data/generated/spec/models/error_permission_denied_spec.rb +0 -36
- data/generated/spec/models/error_spec.rb +0 -36
- data/generated/spec/models/error_too_many_requests_spec.rb +0 -36
- data/generated/spec/models/error_unauthorized_spec.rb +0 -36
- data/generated/spec/models/evaluate_response_spec.rb +0 -48
- data/generated/spec/models/feature_error_report_spec.rb +0 -48
- data/generated/spec/models/feature_health_spec.rb +0 -72
- data/generated/spec/models/health_response_spec.rb +0 -46
- data/generated/spec/spec_helper.rb +0 -111
- data/generated/togglr-client.gemspec +0 -41
@@ -1,81 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for TogglrClient::DefaultApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'DefaultApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = TogglrClient::DefaultApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of DefaultApi' do
|
30
|
-
it 'should create an instance of DefaultApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(TogglrClient::DefaultApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for get_feature_health
|
36
|
-
# Get health status of feature (including auto-disable state)
|
37
|
-
# @param feature_key
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @return [FeatureHealth]
|
40
|
-
describe 'get_feature_health test' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for report_feature_error
|
47
|
-
# Report feature execution error (for auto-disable)
|
48
|
-
# @param feature_key
|
49
|
-
# @param feature_error_report
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [nil]
|
52
|
-
describe 'report_feature_error test' do
|
53
|
-
it 'should work' do
|
54
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
# unit tests for sdk_v1_features_feature_key_evaluate_post
|
59
|
-
# Evaluate feature for given context
|
60
|
-
# Returns feature evaluation result for given project and context. The project is derived from the API key.
|
61
|
-
# @param feature_key
|
62
|
-
# @param request_body
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @return [EvaluateResponse]
|
65
|
-
describe 'sdk_v1_features_feature_key_evaluate_post test' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# unit tests for sdk_v1_health_get
|
72
|
-
# Health check for SDK server
|
73
|
-
# @param [Hash] opts the optional parameters
|
74
|
-
# @return [HealthResponse]
|
75
|
-
describe 'sdk_v1_health_get test' do
|
76
|
-
it 'should work' do
|
77
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::ErrorBadRequest
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::ErrorBadRequest do
|
21
|
-
let(:instance) { TogglrClient::ErrorBadRequest.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ErrorBadRequest' do
|
24
|
-
it 'should create an instance of ErrorBadRequest' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::ErrorBadRequest)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::ErrorError
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::ErrorError do
|
21
|
-
let(:instance) { TogglrClient::ErrorError.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ErrorError' do
|
24
|
-
it 'should create an instance of ErrorError' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::ErrorError)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "message"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::ErrorInternalServerError
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::ErrorInternalServerError do
|
21
|
-
let(:instance) { TogglrClient::ErrorInternalServerError.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ErrorInternalServerError' do
|
24
|
-
it 'should create an instance of ErrorInternalServerError' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::ErrorInternalServerError)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::ErrorNotFound
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::ErrorNotFound do
|
21
|
-
let(:instance) { TogglrClient::ErrorNotFound.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ErrorNotFound' do
|
24
|
-
it 'should create an instance of ErrorNotFound' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::ErrorNotFound)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::ErrorPermissionDenied
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::ErrorPermissionDenied do
|
21
|
-
let(:instance) { TogglrClient::ErrorPermissionDenied.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ErrorPermissionDenied' do
|
24
|
-
it 'should create an instance of ErrorPermissionDenied' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::ErrorPermissionDenied)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::Error
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::Error do
|
21
|
-
let(:instance) { TogglrClient::Error.new }
|
22
|
-
|
23
|
-
describe 'test an instance of Error' do
|
24
|
-
it 'should create an instance of Error' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::Error)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::ErrorTooManyRequests
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::ErrorTooManyRequests do
|
21
|
-
let(:instance) { TogglrClient::ErrorTooManyRequests.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ErrorTooManyRequests' do
|
24
|
-
it 'should create an instance of ErrorTooManyRequests' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::ErrorTooManyRequests)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::ErrorUnauthorized
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::ErrorUnauthorized do
|
21
|
-
let(:instance) { TogglrClient::ErrorUnauthorized.new }
|
22
|
-
|
23
|
-
describe 'test an instance of ErrorUnauthorized' do
|
24
|
-
it 'should create an instance of ErrorUnauthorized' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::ErrorUnauthorized)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
@@ -1,48 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::EvaluateResponse
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::EvaluateResponse do
|
21
|
-
let(:instance) { TogglrClient::EvaluateResponse.new }
|
22
|
-
|
23
|
-
describe 'test an instance of EvaluateResponse' do
|
24
|
-
it 'should create an instance of EvaluateResponse' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::EvaluateResponse)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "feature_key"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
describe 'test attribute "enabled"' do
|
37
|
-
it 'should work' do
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
describe 'test attribute "value"' do
|
43
|
-
it 'should work' do
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
end
|
@@ -1,48 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::FeatureErrorReport
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::FeatureErrorReport do
|
21
|
-
let(:instance) { TogglrClient::FeatureErrorReport.new }
|
22
|
-
|
23
|
-
describe 'test an instance of FeatureErrorReport' do
|
24
|
-
it 'should create an instance of FeatureErrorReport' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::FeatureErrorReport)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "error_type"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
describe 'test attribute "error_message"' do
|
37
|
-
it 'should work' do
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
describe 'test attribute "context"' do
|
43
|
-
it 'should work' do
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
end
|
@@ -1,72 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::FeatureHealth
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::FeatureHealth do
|
21
|
-
let(:instance) { TogglrClient::FeatureHealth.new }
|
22
|
-
|
23
|
-
describe 'test an instance of FeatureHealth' do
|
24
|
-
it 'should create an instance of FeatureHealth' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::FeatureHealth)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "feature_key"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
describe 'test attribute "environment_key"' do
|
37
|
-
it 'should work' do
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
describe 'test attribute "enabled"' do
|
43
|
-
it 'should work' do
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
describe 'test attribute "auto_disabled"' do
|
49
|
-
it 'should work' do
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
describe 'test attribute "error_rate"' do
|
55
|
-
it 'should work' do
|
56
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
describe 'test attribute "threshold"' do
|
61
|
-
it 'should work' do
|
62
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
describe 'test attribute "last_error_at"' do
|
67
|
-
it 'should work' do
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#SDK API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.15.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TogglrClient::HealthResponse
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe TogglrClient::HealthResponse do
|
21
|
-
let(:instance) { TogglrClient::HealthResponse.new }
|
22
|
-
|
23
|
-
describe 'test an instance of HealthResponse' do
|
24
|
-
it 'should create an instance of HealthResponse' do
|
25
|
-
# uncomment below to test the instance creation
|
26
|
-
#expect(instance).to be_instance_of(TogglrClient::HealthResponse)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test attribute "status"' do
|
31
|
-
it 'should work' do
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ok"])
|
34
|
-
# validator.allowable_values.each do |value|
|
35
|
-
# expect { instance.status = value }.not_to raise_error
|
36
|
-
# end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test attribute "server_time"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
end
|