swagger_aem 3.3.0 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +32 -30
- data/README.md +10 -6
- data/docs/BundleData.md +33 -0
- data/docs/BundleDataProp.md +19 -0
- data/docs/BundleInfo.md +21 -0
- data/docs/ConsoleApi.md +51 -0
- data/docs/SlingApi.md +5 -3
- data/lib/swagger_aem/api/console_api.rb +60 -2
- data/lib/swagger_aem/api/cq_api.rb +2 -2
- data/lib/swagger_aem/api/crx_api.rb +2 -2
- data/lib/swagger_aem/api/custom_api.rb +2 -2
- data/lib/swagger_aem/api/granite_api.rb +2 -2
- data/lib/swagger_aem/api/sling_api.rb +13 -6
- data/lib/swagger_aem/api_client.rb +2 -2
- data/lib/swagger_aem/api_error.rb +2 -2
- data/lib/swagger_aem/configuration.rb +2 -2
- data/lib/swagger_aem/models/bundle_data.rb +288 -0
- data/lib/swagger_aem/models/bundle_data_prop.rb +217 -0
- data/lib/swagger_aem/models/bundle_info.rb +229 -0
- data/lib/swagger_aem/models/inline_object.rb +2 -2
- data/lib/swagger_aem/models/inline_object1.rb +2 -2
- data/lib/swagger_aem/models/inline_object2.rb +2 -2
- data/lib/swagger_aem/models/inline_object3.rb +2 -2
- data/lib/swagger_aem/models/inline_object4.rb +2 -2
- data/lib/swagger_aem/models/inline_object5.rb +2 -2
- data/lib/swagger_aem/models/install_status.rb +2 -2
- data/lib/swagger_aem/models/install_status_status.rb +2 -2
- data/lib/swagger_aem/models/keystore_chain_items.rb +2 -2
- data/lib/swagger_aem/models/keystore_info.rb +2 -2
- data/lib/swagger_aem/models/keystore_items.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_info.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_properties.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +2 -2
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +2 -2
- data/lib/swagger_aem/models/truststore_info.rb +2 -2
- data/lib/swagger_aem/models/truststore_items.rb +2 -2
- data/lib/swagger_aem/version.rb +3 -3
- data/lib/swagger_aem.rb +5 -2
- data/spec/api/console_api_spec.rb +22 -12
- data/spec/api/cq_api_spec.rb +4 -4
- data/spec/api/crx_api_spec.rb +6 -6
- data/spec/api/custom_api_spec.rb +5 -5
- data/spec/api/granite_api_spec.rb +2 -2
- data/spec/api/sling_api_spec.rb +76 -66
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/bundle_data_prop_spec.rb +40 -0
- data/spec/models/bundle_data_spec.rb +82 -0
- data/spec/models/bundle_info_spec.rb +46 -0
- data/spec/models/inline_object1_spec.rb +2 -2
- data/spec/models/inline_object2_spec.rb +2 -2
- data/spec/models/inline_object3_spec.rb +2 -2
- data/spec/models/inline_object4_spec.rb +2 -2
- data/spec/models/inline_object5_spec.rb +2 -2
- data/spec/models/inline_object_spec.rb +2 -2
- data/spec/models/install_status_spec.rb +5 -12
- data/spec/models/install_status_status_spec.rb +5 -12
- data/spec/models/keystore_chain_items_spec.rb +5 -12
- data/spec/models/keystore_info_spec.rb +5 -12
- data/spec/models/keystore_items_spec.rb +5 -12
- data/spec/models/saml_configuration_info_spec.rb +5 -12
- data/spec/models/saml_configuration_properties_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_array_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_long_spec.rb +5 -12
- data/spec/models/saml_configuration_property_items_string_spec.rb +5 -12
- data/spec/models/truststore_info_spec.rb +5 -12
- data/spec/models/truststore_items_spec.rb +5 -12
- data/spec/spec_helper.rb +2 -2
- data/swagger_aem.gemspec +2 -2
- metadata +18 -7
@@ -0,0 +1,229 @@
|
|
1
|
+
=begin
|
2
|
+
#Adobe Experience Manager (AEM) API
|
3
|
+
|
4
|
+
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
|
+
Contact: opensource@shinesolutions.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module SwaggerAemClient
|
16
|
+
class BundleInfo
|
17
|
+
# Status description of all bundles
|
18
|
+
attr_accessor :status
|
19
|
+
|
20
|
+
attr_accessor :s
|
21
|
+
|
22
|
+
attr_accessor :data
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'status' => :'status',
|
28
|
+
:'s' => :'s',
|
29
|
+
:'data' => :'data'
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Attribute type mapping.
|
34
|
+
def self.openapi_types
|
35
|
+
{
|
36
|
+
:'status' => :'String',
|
37
|
+
:'s' => :'Array<Integer>',
|
38
|
+
:'data' => :'Array<BundleData>'
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# List of attributes with nullable: true
|
43
|
+
def self.openapi_nullable
|
44
|
+
Set.new([
|
45
|
+
])
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
def initialize(attributes = {})
|
51
|
+
if (!attributes.is_a?(Hash))
|
52
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SwaggerAemClient::BundleInfo` initialize method"
|
53
|
+
end
|
54
|
+
|
55
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
57
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
58
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggerAemClient::BundleInfo`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
59
|
+
end
|
60
|
+
h[k.to_sym] = v
|
61
|
+
}
|
62
|
+
|
63
|
+
if attributes.key?(:'status')
|
64
|
+
self.status = attributes[:'status']
|
65
|
+
end
|
66
|
+
|
67
|
+
if attributes.key?(:'s')
|
68
|
+
if (value = attributes[:'s']).is_a?(Array)
|
69
|
+
self.s = value
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.key?(:'data')
|
74
|
+
if (value = attributes[:'data']).is_a?(Array)
|
75
|
+
self.data = value
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
81
|
+
# @return Array for valid properties with the reasons
|
82
|
+
def list_invalid_properties
|
83
|
+
invalid_properties = Array.new
|
84
|
+
invalid_properties
|
85
|
+
end
|
86
|
+
|
87
|
+
# Check to see if the all the properties in the model are valid
|
88
|
+
# @return true if the model is valid
|
89
|
+
def valid?
|
90
|
+
true
|
91
|
+
end
|
92
|
+
|
93
|
+
# Checks equality by comparing each attribute.
|
94
|
+
# @param [Object] Object to be compared
|
95
|
+
def ==(o)
|
96
|
+
return true if self.equal?(o)
|
97
|
+
self.class == o.class &&
|
98
|
+
status == o.status &&
|
99
|
+
s == o.s &&
|
100
|
+
data == o.data
|
101
|
+
end
|
102
|
+
|
103
|
+
# @see the `==` method
|
104
|
+
# @param [Object] Object to be compared
|
105
|
+
def eql?(o)
|
106
|
+
self == o
|
107
|
+
end
|
108
|
+
|
109
|
+
# Calculates hash code according to all attributes.
|
110
|
+
# @return [Integer] Hash code
|
111
|
+
def hash
|
112
|
+
[status, s, data].hash
|
113
|
+
end
|
114
|
+
|
115
|
+
# Builds the object from hash
|
116
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
117
|
+
# @return [Object] Returns the model itself
|
118
|
+
def self.build_from_hash(attributes)
|
119
|
+
new.build_from_hash(attributes)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Builds the object from hash
|
123
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
124
|
+
# @return [Object] Returns the model itself
|
125
|
+
def build_from_hash(attributes)
|
126
|
+
return nil unless attributes.is_a?(Hash)
|
127
|
+
self.class.openapi_types.each_pair do |key, type|
|
128
|
+
if type =~ /\AArray<(.*)>/i
|
129
|
+
# check to ensure the input is an array given that the attribute
|
130
|
+
# is documented as an array but the input is not
|
131
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
132
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
133
|
+
end
|
134
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
135
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
136
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
137
|
+
end
|
138
|
+
|
139
|
+
self
|
140
|
+
end
|
141
|
+
|
142
|
+
# Deserializes the data based on type
|
143
|
+
# @param string type Data type
|
144
|
+
# @param string value Value to be deserialized
|
145
|
+
# @return [Object] Deserialized data
|
146
|
+
def _deserialize(type, value)
|
147
|
+
case type.to_sym
|
148
|
+
when :DateTime
|
149
|
+
DateTime.parse(value)
|
150
|
+
when :Date
|
151
|
+
Date.parse(value)
|
152
|
+
when :String
|
153
|
+
value.to_s
|
154
|
+
when :Integer
|
155
|
+
value.to_i
|
156
|
+
when :Float
|
157
|
+
value.to_f
|
158
|
+
when :Boolean
|
159
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
160
|
+
true
|
161
|
+
else
|
162
|
+
false
|
163
|
+
end
|
164
|
+
when :Object
|
165
|
+
# generic object (usually a Hash), return directly
|
166
|
+
value
|
167
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
168
|
+
inner_type = Regexp.last_match[:inner_type]
|
169
|
+
value.map { |v| _deserialize(inner_type, v) }
|
170
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
171
|
+
k_type = Regexp.last_match[:k_type]
|
172
|
+
v_type = Regexp.last_match[:v_type]
|
173
|
+
{}.tap do |hash|
|
174
|
+
value.each do |k, v|
|
175
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
else # model
|
179
|
+
SwaggerAemClient.const_get(type).build_from_hash(value)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# Returns the string representation of the object
|
184
|
+
# @return [String] String presentation of the object
|
185
|
+
def to_s
|
186
|
+
to_hash.to_s
|
187
|
+
end
|
188
|
+
|
189
|
+
# to_body is an alias to to_hash (backward compatibility)
|
190
|
+
# @return [Hash] Returns the object in the form of hash
|
191
|
+
def to_body
|
192
|
+
to_hash
|
193
|
+
end
|
194
|
+
|
195
|
+
# Returns the object in the form of hash
|
196
|
+
# @return [Hash] Returns the object in the form of hash
|
197
|
+
def to_hash
|
198
|
+
hash = {}
|
199
|
+
self.class.attribute_map.each_pair do |attr, param|
|
200
|
+
value = self.send(attr)
|
201
|
+
if value.nil?
|
202
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
203
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
204
|
+
end
|
205
|
+
|
206
|
+
hash[param] = _to_hash(value)
|
207
|
+
end
|
208
|
+
hash
|
209
|
+
end
|
210
|
+
|
211
|
+
# Outputs non-array value in the form of hash
|
212
|
+
# For object, use to_hash. Otherwise, just return the value
|
213
|
+
# @param [Object] value Any valid value
|
214
|
+
# @return [Hash] Returns the value in the form of hash
|
215
|
+
def _to_hash(value)
|
216
|
+
if value.is_a?(Array)
|
217
|
+
value.compact.map { |v| _to_hash(v) }
|
218
|
+
elsif value.is_a?(Hash)
|
219
|
+
{}.tap do |hash|
|
220
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
221
|
+
end
|
222
|
+
elsif value.respond_to? :to_hash
|
223
|
+
value.to_hash
|
224
|
+
else
|
225
|
+
value
|
226
|
+
end
|
227
|
+
end
|
228
|
+
end
|
229
|
+
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/lib/swagger_aem/version.rb
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module SwaggerAemClient
|
14
|
-
VERSION = '3.
|
14
|
+
VERSION = '3.7.0'
|
15
15
|
end
|
data/lib/swagger_aem.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.
|
6
|
+
The version of the OpenAPI document: 3.5.2-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,6 +17,9 @@ require 'swagger_aem/version'
|
|
17
17
|
require 'swagger_aem/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'swagger_aem/models/bundle_data'
|
21
|
+
require 'swagger_aem/models/bundle_data_prop'
|
22
|
+
require 'swagger_aem/models/bundle_info'
|
20
23
|
require 'swagger_aem/models/inline_object'
|
21
24
|
require 'swagger_aem/models/inline_object1'
|
22
25
|
require 'swagger_aem/models/inline_object2'
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI
|
6
|
+
The version of the OpenAPI document: 3.5.0-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,7 +19,7 @@ require 'json'
|
|
19
19
|
describe 'ConsoleApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@
|
22
|
+
@api_instance = SwaggerAemClient::ConsoleApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'ConsoleApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of ConsoleApi' do
|
30
30
|
it 'should create an instance of ConsoleApi' do
|
31
|
-
expect(@
|
31
|
+
expect(@api_instance).to be_instance_of(SwaggerAemClient::ConsoleApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -41,6 +41,16 @@ describe 'ConsoleApi' do
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
# unit tests for get_bundle_info
|
45
|
+
# @param name
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [BundleInfo]
|
48
|
+
describe 'get_bundle_info test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
44
54
|
# unit tests for get_config_mgr
|
45
55
|
# @param [Hash] opts the optional parameters
|
46
56
|
# @return [String]
|
@@ -73,30 +83,30 @@ describe 'ConsoleApi' do
|
|
73
83
|
|
74
84
|
# unit tests for post_saml_configuration
|
75
85
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [
|
77
|
-
# @option opts [
|
78
|
-
# @option opts [
|
86
|
+
# @option opts [Boolean] :post
|
87
|
+
# @option opts [Boolean] :apply
|
88
|
+
# @option opts [Boolean] :delete
|
79
89
|
# @option opts [String] :action
|
80
90
|
# @option opts [String] :location
|
81
91
|
# @option opts [Array<String>] :path
|
82
92
|
# @option opts [Integer] :service_ranking
|
83
93
|
# @option opts [String] :idp_url
|
84
94
|
# @option opts [String] :idp_cert_alias
|
85
|
-
# @option opts [
|
95
|
+
# @option opts [Boolean] :idp_http_redirect
|
86
96
|
# @option opts [String] :service_provider_entity_id
|
87
97
|
# @option opts [String] :assertion_consumer_service_url
|
88
98
|
# @option opts [String] :sp_private_key_alias
|
89
99
|
# @option opts [String] :key_store_password
|
90
100
|
# @option opts [String] :default_redirect_url
|
91
101
|
# @option opts [String] :user_id_attribute
|
92
|
-
# @option opts [
|
93
|
-
# @option opts [
|
94
|
-
# @option opts [
|
102
|
+
# @option opts [Boolean] :use_encryption
|
103
|
+
# @option opts [Boolean] :create_user
|
104
|
+
# @option opts [Boolean] :add_group_memberships
|
95
105
|
# @option opts [String] :group_membership_attribute
|
96
106
|
# @option opts [Array<String>] :default_groups
|
97
107
|
# @option opts [String] :name_id_format
|
98
108
|
# @option opts [Array<String>] :synchronize_attributes
|
99
|
-
# @option opts [
|
109
|
+
# @option opts [Boolean] :handle_logout
|
100
110
|
# @option opts [String] :logout_url
|
101
111
|
# @option opts [Integer] :clock_tolerance
|
102
112
|
# @option opts [String] :digest_method
|
data/spec/api/cq_api_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
|
5
5
|
|
6
|
-
OpenAPI
|
6
|
+
The version of the OpenAPI document: 3.5.0-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,7 +19,7 @@ require 'json'
|
|
19
19
|
describe 'CqApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@
|
22
|
+
@api_instance = SwaggerAemClient::CqApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'CqApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of CqApi' do
|
30
30
|
it 'should create an instance of CqApi' do
|
31
|
-
expect(@
|
31
|
+
expect(@api_instance).to be_instance_of(SwaggerAemClient::CqApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|