swagger_aem 2.5.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -1
- data/Gemfile.lock +47 -46
- data/README.md +20 -9
- data/Rakefile +2 -0
- data/docs/ConsoleApi.md +107 -58
- data/docs/CqApi.md +14 -13
- data/docs/CrxApi.md +60 -60
- data/docs/CustomApi.md +27 -24
- data/docs/GraniteApi.md +75 -0
- data/docs/InlineObject.md +17 -0
- data/docs/InlineObject1.md +17 -0
- data/docs/InlineObject2.md +17 -0
- data/docs/InlineObject3.md +17 -0
- data/docs/InlineObject4.md +21 -0
- data/docs/InlineObject5.md +19 -0
- data/docs/InstallStatus.md +9 -0
- data/docs/InstallStatusStatus.md +11 -1
- data/docs/KeystoreChainItems.md +13 -0
- data/docs/KeystoreInfo.md +11 -1
- data/docs/KeystoreItems.md +13 -0
- data/docs/SamlConfigurationInfo.md +15 -1
- data/docs/SamlConfigurationProperties.md +56 -24
- data/docs/SamlConfigurationPropertyItemsArray.md +16 -2
- data/docs/SamlConfigurationPropertyItemsBoolean.md +17 -3
- data/docs/SamlConfigurationPropertyItemsLong.md +17 -3
- data/docs/SamlConfigurationPropertyItemsString.md +17 -3
- data/docs/SlingApi.md +482 -445
- data/docs/TruststoreInfo.md +11 -1
- data/docs/TruststoreItems.md +15 -0
- data/git_push.sh +11 -8
- data/lib/swagger_aem.rb +10 -3
- data/lib/swagger_aem/api/console_api.rb +160 -91
- data/lib/swagger_aem/api/cq_api.rb +49 -41
- data/lib/swagger_aem/api/crx_api.rb +170 -135
- data/lib/swagger_aem/api/custom_api.rb +68 -56
- data/lib/swagger_aem/api/granite_api.rb +124 -0
- data/lib/swagger_aem/api/sling_api.rb +900 -720
- data/lib/swagger_aem/api_client.rb +53 -54
- data/lib/swagger_aem/api_error.rb +22 -3
- data/lib/swagger_aem/configuration.rb +49 -10
- data/lib/swagger_aem/models/inline_object.rb +206 -0
- data/lib/swagger_aem/models/inline_object1.rb +206 -0
- data/lib/swagger_aem/models/inline_object2.rb +206 -0
- data/lib/swagger_aem/models/inline_object3.rb +206 -0
- data/lib/swagger_aem/models/inline_object4.rb +224 -0
- data/lib/swagger_aem/models/inline_object5.rb +215 -0
- data/lib/swagger_aem/models/install_status.rb +43 -25
- data/lib/swagger_aem/models/install_status_status.rb +46 -28
- data/lib/swagger_aem/models/keystore_chain_items.rb +50 -32
- data/lib/swagger_aem/models/keystore_info.rb +45 -27
- data/lib/swagger_aem/models/keystore_items.rb +49 -31
- data/lib/swagger_aem/models/saml_configuration_info.rb +49 -31
- data/lib/swagger_aem/models/saml_configuration_properties.rb +114 -168
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +50 -32
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +56 -38
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +56 -38
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +56 -38
- data/lib/swagger_aem/models/truststore_info.rb +45 -27
- data/lib/swagger_aem/models/truststore_items.rb +54 -36
- data/lib/swagger_aem/version.rb +4 -4
- data/spec/api/console_api_spec.rb +17 -16
- data/spec/api/cq_api_spec.rb +6 -10
- data/spec/api/crx_api_spec.rb +11 -25
- data/spec/api/custom_api_spec.rb +7 -13
- data/spec/api/granite_api_spec.rb +52 -0
- data/spec/api/sling_api_spec.rb +32 -88
- data/spec/api_client_spec.rb +37 -37
- data/spec/configuration_spec.rb +11 -11
- data/spec/models/inline_object1_spec.rb +41 -0
- data/spec/models/inline_object2_spec.rb +41 -0
- data/spec/models/inline_object3_spec.rb +41 -0
- data/spec/models/inline_object4_spec.rb +53 -0
- data/spec/models/inline_object5_spec.rb +47 -0
- data/spec/models/inline_object_spec.rb +41 -0
- data/spec/models/install_status_spec.rb +5 -6
- data/spec/models/install_status_status_spec.rb +6 -7
- data/spec/models/keystore_chain_items_spec.rb +9 -10
- data/spec/models/keystore_info_spec.rb +6 -7
- data/spec/models/keystore_items_spec.rb +9 -10
- data/spec/models/saml_configuration_info_spec.rb +10 -11
- data/spec/models/saml_configuration_properties_spec.rb +28 -29
- data/spec/models/saml_configuration_property_items_array_spec.rb +10 -11
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +11 -12
- data/spec/models/saml_configuration_property_items_long_spec.rb +11 -12
- data/spec/models/saml_configuration_property_items_string_spec.rb +11 -12
- data/spec/models/truststore_info_spec.rb +6 -7
- data/spec/models/truststore_items_spec.rb +11 -12
- data/spec/spec_helper.rb +3 -3
- data/swagger_aem.gemspec +8 -14
- metadata +36 -128
data/spec/api_client_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 spec version:
|
6
|
+
OpenAPI spec version: 3.1.0-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -51,11 +51,11 @@ describe SwaggerAemClient::ApiClient do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
describe
|
54
|
+
describe 'params_encoding in #build_request' do
|
55
55
|
let(:config) { SwaggerAemClient::Configuration.new }
|
56
56
|
let(:api_client) { SwaggerAemClient::ApiClient.new(config) }
|
57
57
|
|
58
|
-
it
|
58
|
+
it 'defaults to nil' do
|
59
59
|
expect(SwaggerAemClient::Configuration.default.params_encoding).to eq(nil)
|
60
60
|
expect(config.params_encoding).to eq(nil)
|
61
61
|
|
@@ -63,18 +63,18 @@ describe SwaggerAemClient::ApiClient do
|
|
63
63
|
expect(request.options[:params_encoding]).to eq(nil)
|
64
64
|
end
|
65
65
|
|
66
|
-
it
|
66
|
+
it 'can be customized' do
|
67
67
|
config.params_encoding = :multi
|
68
68
|
request = api_client.build_request(:get, '/test')
|
69
69
|
expect(request.options[:params_encoding]).to eq(:multi)
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
-
describe
|
73
|
+
describe 'timeout in #build_request' do
|
74
74
|
let(:config) { SwaggerAemClient::Configuration.new }
|
75
75
|
let(:api_client) { SwaggerAemClient::ApiClient.new(config) }
|
76
76
|
|
77
|
-
it
|
77
|
+
it 'defaults to 0' do
|
78
78
|
expect(SwaggerAemClient::Configuration.default.timeout).to eq(0)
|
79
79
|
expect(config.timeout).to eq(0)
|
80
80
|
|
@@ -82,88 +82,88 @@ describe SwaggerAemClient::ApiClient do
|
|
82
82
|
expect(request.options[:timeout]).to eq(0)
|
83
83
|
end
|
84
84
|
|
85
|
-
it
|
85
|
+
it 'can be customized' do
|
86
86
|
config.timeout = 100
|
87
87
|
request = api_client.build_request(:get, '/test')
|
88
88
|
expect(request.options[:timeout]).to eq(100)
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
-
describe
|
92
|
+
describe '#deserialize' do
|
93
93
|
it "handles Array<Integer>" do
|
94
94
|
api_client = SwaggerAemClient::ApiClient.new
|
95
|
-
headers = {'Content-Type' => 'application/json'}
|
95
|
+
headers = { 'Content-Type' => 'application/json' }
|
96
96
|
response = double('response', headers: headers, body: '[12, 34]')
|
97
97
|
data = api_client.deserialize(response, 'Array<Integer>')
|
98
98
|
expect(data).to be_instance_of(Array)
|
99
99
|
expect(data).to eq([12, 34])
|
100
100
|
end
|
101
101
|
|
102
|
-
it
|
102
|
+
it 'handles Array<Array<Integer>>' do
|
103
103
|
api_client = SwaggerAemClient::ApiClient.new
|
104
|
-
headers = {'Content-Type' => 'application/json'}
|
104
|
+
headers = { 'Content-Type' => 'application/json' }
|
105
105
|
response = double('response', headers: headers, body: '[[12, 34], [56]]')
|
106
106
|
data = api_client.deserialize(response, 'Array<Array<Integer>>')
|
107
107
|
expect(data).to be_instance_of(Array)
|
108
108
|
expect(data).to eq([[12, 34], [56]])
|
109
109
|
end
|
110
110
|
|
111
|
-
it
|
111
|
+
it 'handles Hash<String, String>' do
|
112
112
|
api_client = SwaggerAemClient::ApiClient.new
|
113
|
-
headers = {'Content-Type' => 'application/json'}
|
113
|
+
headers = { 'Content-Type' => 'application/json' }
|
114
114
|
response = double('response', headers: headers, body: '{"message": "Hello"}')
|
115
115
|
data = api_client.deserialize(response, 'Hash<String, String>')
|
116
116
|
expect(data).to be_instance_of(Hash)
|
117
|
-
expect(data).to eq(
|
117
|
+
expect(data).to eq(:message => 'Hello')
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
121
121
|
describe "#object_to_hash" do
|
122
|
-
it
|
122
|
+
it 'ignores nils and includes empty arrays' do
|
123
123
|
# uncomment below to test object_to_hash for model
|
124
|
-
#api_client = SwaggerAemClient::ApiClient.new
|
125
|
-
#_model = SwaggerAemClient::ModelName.new
|
124
|
+
# api_client = SwaggerAemClient::ApiClient.new
|
125
|
+
# _model = SwaggerAemClient::ModelName.new
|
126
126
|
# update the model attribute below
|
127
|
-
#_model.id = 1
|
127
|
+
# _model.id = 1
|
128
128
|
# update the expected value (hash) below
|
129
|
-
#expected = {id: 1, name: '', tags: []}
|
130
|
-
#expect(api_client.object_to_hash(_model)).to eq(expected)
|
129
|
+
# expected = {id: 1, name: '', tags: []}
|
130
|
+
# expect(api_client.object_to_hash(_model)).to eq(expected)
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
134
|
-
describe
|
134
|
+
describe '#build_collection_param' do
|
135
135
|
let(:param) { ['aa', 'bb', 'cc'] }
|
136
136
|
let(:api_client) { SwaggerAemClient::ApiClient.new }
|
137
137
|
|
138
|
-
it
|
138
|
+
it 'works for csv' do
|
139
139
|
expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
|
140
140
|
end
|
141
141
|
|
142
|
-
it
|
142
|
+
it 'works for ssv' do
|
143
143
|
expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc')
|
144
144
|
end
|
145
145
|
|
146
|
-
it
|
146
|
+
it 'works for tsv' do
|
147
147
|
expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc")
|
148
148
|
end
|
149
149
|
|
150
|
-
it
|
150
|
+
it 'works for pipes' do
|
151
151
|
expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc')
|
152
152
|
end
|
153
153
|
|
154
|
-
it
|
154
|
+
it 'works for multi' do
|
155
155
|
expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc'])
|
156
156
|
end
|
157
157
|
|
158
|
-
it
|
158
|
+
it 'fails for invalid collection format' do
|
159
159
|
expect(proc { api_client.build_collection_param(param, :INVALID) }).to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
163
|
-
describe
|
163
|
+
describe '#json_mime?' do
|
164
164
|
let(:api_client) { SwaggerAemClient::ApiClient.new }
|
165
165
|
|
166
|
-
it
|
166
|
+
it 'works' do
|
167
167
|
expect(api_client.json_mime?(nil)).to eq false
|
168
168
|
expect(api_client.json_mime?('')).to eq false
|
169
169
|
|
@@ -177,10 +177,10 @@ describe SwaggerAemClient::ApiClient do
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
-
describe
|
180
|
+
describe '#select_header_accept' do
|
181
181
|
let(:api_client) { SwaggerAemClient::ApiClient.new }
|
182
182
|
|
183
|
-
it
|
183
|
+
it 'works' do
|
184
184
|
expect(api_client.select_header_accept(nil)).to be_nil
|
185
185
|
expect(api_client.select_header_accept([])).to be_nil
|
186
186
|
|
@@ -193,10 +193,10 @@ describe SwaggerAemClient::ApiClient do
|
|
193
193
|
end
|
194
194
|
end
|
195
195
|
|
196
|
-
describe
|
196
|
+
describe '#select_header_content_type' do
|
197
197
|
let(:api_client) { SwaggerAemClient::ApiClient.new }
|
198
198
|
|
199
|
-
it
|
199
|
+
it 'works' do
|
200
200
|
expect(api_client.select_header_content_type(nil)).to eq('application/json')
|
201
201
|
expect(api_client.select_header_content_type([])).to eq('application/json')
|
202
202
|
|
@@ -208,10 +208,10 @@ describe SwaggerAemClient::ApiClient do
|
|
208
208
|
end
|
209
209
|
end
|
210
210
|
|
211
|
-
describe
|
211
|
+
describe '#sanitize_filename' do
|
212
212
|
let(:api_client) { SwaggerAemClient::ApiClient.new }
|
213
213
|
|
214
|
-
it
|
214
|
+
it 'works' do
|
215
215
|
expect(api_client.sanitize_filename('sun')).to eq('sun')
|
216
216
|
expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif')
|
217
217
|
expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif')
|
data/spec/configuration_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 spec version:
|
6
|
+
OpenAPI spec version: 3.1.0-pre.0
|
7
7
|
Contact: opensource@shinesolutions.com
|
8
|
-
Generated by: https://
|
9
|
-
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,25 +17,25 @@ describe SwaggerAemClient::Configuration do
|
|
17
17
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
|
-
#require 'URI'
|
21
|
-
#uri = URI.parse("http://localhost")
|
22
|
-
#SwaggerAemClient.configure do |c|
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#end
|
20
|
+
# require 'URI'
|
21
|
+
# uri = URI.parse("http://localhost")
|
22
|
+
# SwaggerAemClient.configure do |c|
|
23
|
+
# c.host = uri.host
|
24
|
+
# c.base_path = uri.path
|
25
|
+
# end
|
26
26
|
end
|
27
27
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
#expect(config.base_url).to eq("http://localhost")
|
31
|
+
# expect(config.base_url).to eq("http://localhost")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
#expect(config.base_url).to eq("http://localhost")
|
38
|
+
# expect(config.base_url).to eq("http://localhost")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -0,0 +1,41 @@
|
|
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.2.0
|
7
|
+
Contact: opensource@shinesolutions.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SwaggerAemClient::InlineObject1
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineObject1' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SwaggerAemClient::InlineObject1.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineObject1' do
|
31
|
+
it 'should create an instance of InlineObject1' do
|
32
|
+
expect(@instance).to be_instance_of(SwaggerAemClient::InlineObject1)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "package"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,41 @@
|
|
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.2.0
|
7
|
+
Contact: opensource@shinesolutions.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SwaggerAemClient::InlineObject2
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineObject2' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SwaggerAemClient::InlineObject2.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineObject2' do
|
31
|
+
it 'should create an instance of InlineObject2' do
|
32
|
+
expect(@instance).to be_instance_of(SwaggerAemClient::InlineObject2)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "certificate"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,41 @@
|
|
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.2.0
|
7
|
+
Contact: opensource@shinesolutions.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SwaggerAemClient::InlineObject3
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineObject3' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SwaggerAemClient::InlineObject3.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineObject3' do
|
31
|
+
it 'should create an instance of InlineObject3' do
|
32
|
+
expect(@instance).to be_instance_of(SwaggerAemClient::InlineObject3)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "truststore_p12"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,53 @@
|
|
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.2.0
|
7
|
+
Contact: opensource@shinesolutions.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SwaggerAemClient::InlineObject4
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineObject4' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SwaggerAemClient::InlineObject4.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineObject4' do
|
31
|
+
it 'should create an instance of InlineObject4' do
|
32
|
+
expect(@instance).to be_instance_of(SwaggerAemClient::InlineObject4)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "cert_chain"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pk"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "key_store"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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.3.0
|
7
|
+
Contact: opensource@shinesolutions.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SwaggerAemClient::InlineObject5
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineObject5' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SwaggerAemClient::InlineObject5.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineObject5' do
|
31
|
+
it 'should create an instance of InlineObject5' do
|
32
|
+
expect(@instance).to be_instance_of(SwaggerAemClient::InlineObject5)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "privatekey_file"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "certificate_file"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|