rbflagr 1.1.0 → 1.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +1 -1
- data/README.md +14 -6
- data/docs/CreateFlagRequest.md +1 -0
- data/docs/CreateTagRequest.md +8 -0
- data/docs/EvalContext.md +1 -0
- data/docs/EvaluationBatchRequest.md +2 -1
- data/docs/ExportApi.md +54 -6
- data/docs/Flag.md +2 -0
- data/docs/FlagApi.md +2 -0
- data/docs/Health.md +8 -0
- data/docs/HealthApi.md +4 -3
- data/docs/PutFlagRequest.md +1 -0
- data/docs/Tag.md +9 -0
- data/docs/TagApi.md +198 -0
- data/lib/rbflagr.rb +6 -2
- data/lib/rbflagr/api/constraint_api.rb +2 -2
- data/lib/rbflagr/api/distribution_api.rb +2 -2
- data/lib/rbflagr/api/evaluation_api.rb +2 -2
- data/lib/rbflagr/api/export_api.rb +56 -7
- data/lib/rbflagr/api/flag_api.rb +5 -2
- data/lib/rbflagr/api/health_api.rb +8 -7
- data/lib/rbflagr/api/segment_api.rb +2 -2
- data/lib/rbflagr/api/tag_api.rb +253 -0
- data/lib/rbflagr/api/variant_api.rb +2 -2
- data/lib/rbflagr/api_client.rb +4 -2
- data/lib/rbflagr/api_error.rb +2 -2
- data/lib/rbflagr/configuration.rb +2 -2
- data/lib/rbflagr/models/constraint.rb +4 -3
- data/lib/rbflagr/models/create_constraint_request.rb +4 -3
- data/lib/rbflagr/models/create_flag_request.rb +18 -7
- data/lib/rbflagr/models/create_segment_request.rb +4 -3
- data/lib/rbflagr/models/create_tag_request.rb +208 -0
- data/lib/rbflagr/models/create_variant_request.rb +4 -3
- data/lib/rbflagr/models/distribution.rb +4 -3
- data/lib/rbflagr/models/error.rb +4 -3
- data/lib/rbflagr/models/eval_context.rb +20 -7
- data/lib/rbflagr/models/eval_debug_log.rb +4 -3
- data/lib/rbflagr/models/eval_result.rb +4 -3
- data/lib/rbflagr/models/evaluation_batch_request.rb +21 -8
- data/lib/rbflagr/models/evaluation_batch_response.rb +4 -3
- data/lib/rbflagr/models/evaluation_entity.rb +4 -3
- data/lib/rbflagr/models/flag.rb +26 -4
- data/lib/rbflagr/models/flag_snapshot.rb +4 -3
- data/lib/rbflagr/models/health.rb +184 -0
- data/lib/rbflagr/models/put_distributions_request.rb +4 -3
- data/lib/rbflagr/models/put_flag_request.rb +17 -7
- data/lib/rbflagr/models/put_segment_reorder_request.rb +4 -3
- data/lib/rbflagr/models/put_segment_request.rb +4 -3
- data/lib/rbflagr/models/put_variant_request.rb +4 -3
- data/lib/rbflagr/models/segment.rb +4 -3
- data/lib/rbflagr/models/segment_debug_log.rb +4 -3
- data/lib/rbflagr/models/set_flag_enabled_request.rb +4 -3
- data/lib/rbflagr/models/tag.rb +232 -0
- data/lib/rbflagr/models/variant.rb +4 -3
- data/lib/rbflagr/version.rb +3 -3
- data/rbflagr.gemspec +2 -2
- data/spec/api/tag_api_spec.rb +79 -0
- data/spec/models/create_tag_request_spec.rb +41 -0
- data/spec/models/health_spec.rb +41 -0
- data/spec/models/tag_spec.rb +47 -0
- data/swagger.yaml +201 -5
- data/swagger_ruby.json +1 -1
- metadata +28 -13
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -163,7 +163,7 @@ module Flagr
|
|
163
163
|
return nil unless attributes.is_a?(Hash)
|
164
164
|
self.class.swagger_types.each_pair do |key, type|
|
165
165
|
if type =~ /\AArray<(.*)>/i
|
166
|
-
# check to ensure the input is an array given that the
|
166
|
+
# check to ensure the input is an array given that the attribute
|
167
167
|
# is documented as an array but the input is not
|
168
168
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
169
169
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -259,5 +259,6 @@ module Flagr
|
|
259
259
|
value
|
260
260
|
end
|
261
261
|
end
|
262
|
+
|
262
263
|
end
|
263
264
|
end
|
@@ -0,0 +1,184 @@
|
|
1
|
+
=begin
|
2
|
+
#Flagr
|
3
|
+
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module Flagr
|
16
|
+
class Health
|
17
|
+
attr_accessor :status
|
18
|
+
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
20
|
+
def self.attribute_map
|
21
|
+
{
|
22
|
+
:'status' => :'status'
|
23
|
+
}
|
24
|
+
end
|
25
|
+
|
26
|
+
# Attribute type mapping.
|
27
|
+
def self.swagger_types
|
28
|
+
{
|
29
|
+
:'status' => :'String'
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Initializes the object
|
34
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
35
|
+
def initialize(attributes = {})
|
36
|
+
return unless attributes.is_a?(Hash)
|
37
|
+
|
38
|
+
# convert string to symbol for hash key
|
39
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
|
+
|
41
|
+
if attributes.has_key?(:'status')
|
42
|
+
self.status = attributes[:'status']
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
47
|
+
# @return Array for valid properties with the reasons
|
48
|
+
def list_invalid_properties
|
49
|
+
invalid_properties = Array.new
|
50
|
+
invalid_properties
|
51
|
+
end
|
52
|
+
|
53
|
+
# Check to see if the all the properties in the model are valid
|
54
|
+
# @return true if the model is valid
|
55
|
+
def valid?
|
56
|
+
true
|
57
|
+
end
|
58
|
+
|
59
|
+
# Checks equality by comparing each attribute.
|
60
|
+
# @param [Object] Object to be compared
|
61
|
+
def ==(o)
|
62
|
+
return true if self.equal?(o)
|
63
|
+
self.class == o.class &&
|
64
|
+
status == o.status
|
65
|
+
end
|
66
|
+
|
67
|
+
# @see the `==` method
|
68
|
+
# @param [Object] Object to be compared
|
69
|
+
def eql?(o)
|
70
|
+
self == o
|
71
|
+
end
|
72
|
+
|
73
|
+
# Calculates hash code according to all attributes.
|
74
|
+
# @return [Fixnum] Hash code
|
75
|
+
def hash
|
76
|
+
[status].hash
|
77
|
+
end
|
78
|
+
|
79
|
+
# Builds the object from hash
|
80
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
81
|
+
# @return [Object] Returns the model itself
|
82
|
+
def build_from_hash(attributes)
|
83
|
+
return nil unless attributes.is_a?(Hash)
|
84
|
+
self.class.swagger_types.each_pair do |key, type|
|
85
|
+
if type =~ /\AArray<(.*)>/i
|
86
|
+
# check to ensure the input is an array given that the attribute
|
87
|
+
# is documented as an array but the input is not
|
88
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
89
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
90
|
+
end
|
91
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
92
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
93
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
94
|
+
end
|
95
|
+
|
96
|
+
self
|
97
|
+
end
|
98
|
+
|
99
|
+
# Deserializes the data based on type
|
100
|
+
# @param string type Data type
|
101
|
+
# @param string value Value to be deserialized
|
102
|
+
# @return [Object] Deserialized data
|
103
|
+
def _deserialize(type, value)
|
104
|
+
case type.to_sym
|
105
|
+
when :DateTime
|
106
|
+
DateTime.parse(value)
|
107
|
+
when :Date
|
108
|
+
Date.parse(value)
|
109
|
+
when :String
|
110
|
+
value.to_s
|
111
|
+
when :Integer
|
112
|
+
value.to_i
|
113
|
+
when :Float
|
114
|
+
value.to_f
|
115
|
+
when :BOOLEAN
|
116
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
117
|
+
true
|
118
|
+
else
|
119
|
+
false
|
120
|
+
end
|
121
|
+
when :Object
|
122
|
+
# generic object (usually a Hash), return directly
|
123
|
+
value
|
124
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
125
|
+
inner_type = Regexp.last_match[:inner_type]
|
126
|
+
value.map { |v| _deserialize(inner_type, v) }
|
127
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
128
|
+
k_type = Regexp.last_match[:k_type]
|
129
|
+
v_type = Regexp.last_match[:v_type]
|
130
|
+
{}.tap do |hash|
|
131
|
+
value.each do |k, v|
|
132
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
else # model
|
136
|
+
temp_model = Flagr.const_get(type).new
|
137
|
+
temp_model.build_from_hash(value)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Returns the string representation of the object
|
142
|
+
# @return [String] String presentation of the object
|
143
|
+
def to_s
|
144
|
+
to_hash.to_s
|
145
|
+
end
|
146
|
+
|
147
|
+
# to_body is an alias to to_hash (backward compatibility)
|
148
|
+
# @return [Hash] Returns the object in the form of hash
|
149
|
+
def to_body
|
150
|
+
to_hash
|
151
|
+
end
|
152
|
+
|
153
|
+
# Returns the object in the form of hash
|
154
|
+
# @return [Hash] Returns the object in the form of hash
|
155
|
+
def to_hash
|
156
|
+
hash = {}
|
157
|
+
self.class.attribute_map.each_pair do |attr, param|
|
158
|
+
value = self.send(attr)
|
159
|
+
next if value.nil?
|
160
|
+
hash[param] = _to_hash(value)
|
161
|
+
end
|
162
|
+
hash
|
163
|
+
end
|
164
|
+
|
165
|
+
# Outputs non-array value in the form of hash
|
166
|
+
# For object, use to_hash. Otherwise, just return the value
|
167
|
+
# @param [Object] value Any valid value
|
168
|
+
# @return [Hash] Returns the value in the form of hash
|
169
|
+
def _to_hash(value)
|
170
|
+
if value.is_a?(Array)
|
171
|
+
value.compact.map { |v| _to_hash(v) }
|
172
|
+
elsif value.is_a?(Hash)
|
173
|
+
{}.tap do |hash|
|
174
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
175
|
+
end
|
176
|
+
elsif value.respond_to? :to_hash
|
177
|
+
value.to_hash
|
178
|
+
else
|
179
|
+
value
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
end
|
184
|
+
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -90,7 +90,7 @@ module Flagr
|
|
90
90
|
return nil unless attributes.is_a?(Hash)
|
91
91
|
self.class.swagger_types.each_pair do |key, type|
|
92
92
|
if type =~ /\AArray<(.*)>/i
|
93
|
-
# check to ensure the input is an array given that the
|
93
|
+
# check to ensure the input is an array given that the attribute
|
94
94
|
# is documented as an array but the input is not
|
95
95
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
96
96
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -186,5 +186,6 @@ module Flagr
|
|
186
186
|
value
|
187
187
|
end
|
188
188
|
end
|
189
|
+
|
189
190
|
end
|
190
191
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -26,6 +26,8 @@ module Flagr
|
|
26
26
|
|
27
27
|
attr_accessor :key
|
28
28
|
|
29
|
+
attr_accessor :notes
|
30
|
+
|
29
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
32
|
def self.attribute_map
|
31
33
|
{
|
@@ -33,7 +35,8 @@ module Flagr
|
|
33
35
|
:'data_records_enabled' => :'dataRecordsEnabled',
|
34
36
|
:'entity_type' => :'entityType',
|
35
37
|
:'enabled' => :'enabled',
|
36
|
-
:'key' => :'key'
|
38
|
+
:'key' => :'key',
|
39
|
+
:'notes' => :'notes'
|
37
40
|
}
|
38
41
|
end
|
39
42
|
|
@@ -44,7 +47,8 @@ module Flagr
|
|
44
47
|
:'data_records_enabled' => :'BOOLEAN',
|
45
48
|
:'entity_type' => :'String',
|
46
49
|
:'enabled' => :'BOOLEAN',
|
47
|
-
:'key' => :'String'
|
50
|
+
:'key' => :'String',
|
51
|
+
:'notes' => :'String'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -75,6 +79,10 @@ module Flagr
|
|
75
79
|
if attributes.has_key?(:'key')
|
76
80
|
self.key = attributes[:'key']
|
77
81
|
end
|
82
|
+
|
83
|
+
if attributes.has_key?(:'notes')
|
84
|
+
self.notes = attributes[:'notes']
|
85
|
+
end
|
78
86
|
end
|
79
87
|
|
80
88
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -114,7 +122,8 @@ module Flagr
|
|
114
122
|
data_records_enabled == o.data_records_enabled &&
|
115
123
|
entity_type == o.entity_type &&
|
116
124
|
enabled == o.enabled &&
|
117
|
-
key == o.key
|
125
|
+
key == o.key &&
|
126
|
+
notes == o.notes
|
118
127
|
end
|
119
128
|
|
120
129
|
# @see the `==` method
|
@@ -126,7 +135,7 @@ module Flagr
|
|
126
135
|
# Calculates hash code according to all attributes.
|
127
136
|
# @return [Fixnum] Hash code
|
128
137
|
def hash
|
129
|
-
[description, data_records_enabled, entity_type, enabled, key].hash
|
138
|
+
[description, data_records_enabled, entity_type, enabled, key, notes].hash
|
130
139
|
end
|
131
140
|
|
132
141
|
# Builds the object from hash
|
@@ -136,7 +145,7 @@ module Flagr
|
|
136
145
|
return nil unless attributes.is_a?(Hash)
|
137
146
|
self.class.swagger_types.each_pair do |key, type|
|
138
147
|
if type =~ /\AArray<(.*)>/i
|
139
|
-
# check to ensure the input is an array given that the
|
148
|
+
# check to ensure the input is an array given that the attribute
|
140
149
|
# is documented as an array but the input is not
|
141
150
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
142
151
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -232,5 +241,6 @@ module Flagr
|
|
232
241
|
value
|
233
242
|
end
|
234
243
|
end
|
244
|
+
|
235
245
|
end
|
236
246
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -90,7 +90,7 @@ module Flagr
|
|
90
90
|
return nil unless attributes.is_a?(Hash)
|
91
91
|
self.class.swagger_types.each_pair do |key, type|
|
92
92
|
if type =~ /\AArray<(.*)>/i
|
93
|
-
# check to ensure the input is an array given that the
|
93
|
+
# check to ensure the input is an array given that the attribute
|
94
94
|
# is documented as an array but the input is not
|
95
95
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
96
96
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -186,5 +186,6 @@ module Flagr
|
|
186
186
|
value
|
187
187
|
end
|
188
188
|
end
|
189
|
+
|
189
190
|
end
|
190
191
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -149,7 +149,7 @@ module Flagr
|
|
149
149
|
return nil unless attributes.is_a?(Hash)
|
150
150
|
self.class.swagger_types.each_pair do |key, type|
|
151
151
|
if type =~ /\AArray<(.*)>/i
|
152
|
-
# check to ensure the input is an array given that the
|
152
|
+
# check to ensure the input is an array given that the attribute
|
153
153
|
# is documented as an array but the input is not
|
154
154
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
155
155
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -245,5 +245,6 @@ module Flagr
|
|
245
245
|
value
|
246
246
|
end
|
247
247
|
end
|
248
|
+
|
248
249
|
end
|
249
250
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -116,7 +116,7 @@ module Flagr
|
|
116
116
|
return nil unless attributes.is_a?(Hash)
|
117
117
|
self.class.swagger_types.each_pair do |key, type|
|
118
118
|
if type =~ /\AArray<(.*)>/i
|
119
|
-
# check to ensure the input is an array given that the
|
119
|
+
# check to ensure the input is an array given that the attribute
|
120
120
|
# is documented as an array but the input is not
|
121
121
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
122
122
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -212,5 +212,6 @@ module Flagr
|
|
212
212
|
value
|
213
213
|
end
|
214
214
|
end
|
215
|
+
|
215
216
|
end
|
216
217
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -228,7 +228,7 @@ module Flagr
|
|
228
228
|
return nil unless attributes.is_a?(Hash)
|
229
229
|
self.class.swagger_types.each_pair do |key, type|
|
230
230
|
if type =~ /\AArray<(.*)>/i
|
231
|
-
# check to ensure the input is an array given that the
|
231
|
+
# check to ensure the input is an array given that the attribute
|
232
232
|
# is documented as an array but the input is not
|
233
233
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
234
234
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -324,5 +324,6 @@ module Flagr
|
|
324
324
|
value
|
325
325
|
end
|
326
326
|
end
|
327
|
+
|
327
328
|
end
|
328
329
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.1.
|
6
|
+
OpenAPI spec version: 1.1.10
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -107,7 +107,7 @@ module Flagr
|
|
107
107
|
return nil unless attributes.is_a?(Hash)
|
108
108
|
self.class.swagger_types.each_pair do |key, type|
|
109
109
|
if type =~ /\AArray<(.*)>/i
|
110
|
-
# check to ensure the input is an array given that the
|
110
|
+
# check to ensure the input is an array given that the attribute
|
111
111
|
# is documented as an array but the input is not
|
112
112
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
113
113
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -203,5 +203,6 @@ module Flagr
|
|
203
203
|
value
|
204
204
|
end
|
205
205
|
end
|
206
|
+
|
206
207
|
end
|
207
208
|
end
|