swagger_aem 3.8.0 → 4.0.0
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/Gemfile.lock +107 -34
- data/README.md +8 -12
- data/bin/byebug +16 -0
- data/bin/coderay +16 -0
- data/bin/htmldiff +16 -0
- data/bin/ldiff +16 -0
- data/bin/pry +16 -0
- data/bin/racc +16 -0
- data/bin/rake +16 -0
- data/bin/rspec +16 -0
- data/bin/rubocop +16 -0
- data/bin/ruby-parse +16 -0
- data/bin/ruby-rewrite +16 -0
- data/docs/BundleData.md +24 -23
- data/docs/BundleDataProp.md +10 -9
- data/docs/BundleInfo.md +12 -11
- data/docs/ConsoleApi.md +188 -79
- data/docs/CqApi.md +52 -16
- data/docs/CrxApi.md +192 -64
- data/docs/CustomApi.md +85 -32
- data/docs/GraniteApi.md +37 -20
- data/docs/InstallStatus.md +8 -7
- data/docs/InstallStatusStatus.md +10 -9
- data/docs/KeystoreChainItems.md +16 -15
- data/docs/KeystoreInfo.md +10 -9
- data/docs/KeystoreItems.md +16 -15
- data/docs/SamlConfigurationInfo.md +18 -17
- data/docs/SamlConfigurationProperties.md +54 -53
- data/docs/SamlConfigurationPropertyItemsArray.md +18 -17
- data/docs/SamlConfigurationPropertyItemsBoolean.md +18 -17
- data/docs/SamlConfigurationPropertyItemsLong.md +18 -17
- data/docs/SamlConfigurationPropertyItemsString.md +18 -17
- data/docs/SlingApi.md +1021 -496
- data/docs/TruststoreInfo.md +10 -9
- data/docs/TruststoreItems.md +20 -19
- data/git_push.sh +3 -4
- data/lib/swagger_aem/api/console_api.rb +33 -27
- data/lib/swagger_aem/api/cq_api.rb +11 -9
- data/lib/swagger_aem/api/crx_api.rb +42 -32
- data/lib/swagger_aem/api/custom_api.rb +15 -12
- data/lib/swagger_aem/api/granite_api.rb +11 -7
- data/lib/swagger_aem/api/sling_api.rb +342 -298
- data/lib/swagger_aem/api_client.rb +73 -64
- data/lib/swagger_aem/api_error.rb +3 -2
- data/lib/swagger_aem/api_model_base.rb +88 -0
- data/lib/swagger_aem/configuration.rb +75 -15
- data/lib/swagger_aem/models/bundle_data.rb +32 -91
- data/lib/swagger_aem/models/bundle_data_prop.rb +32 -91
- data/lib/swagger_aem/models/bundle_info.rb +32 -91
- data/lib/swagger_aem/models/install_status.rb +32 -91
- data/lib/swagger_aem/models/install_status_status.rb +32 -91
- data/lib/swagger_aem/models/keystore_chain_items.rb +32 -91
- data/lib/swagger_aem/models/keystore_info.rb +32 -91
- data/lib/swagger_aem/models/keystore_items.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_info.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_properties.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +32 -91
- data/lib/swagger_aem/models/truststore_info.rb +32 -91
- data/lib/swagger_aem/models/truststore_items.rb +32 -91
- data/lib/swagger_aem/version.rb +3 -3
- data/lib/swagger_aem.rb +3 -8
- data/spec/api/console_api_spec.rb +8 -8
- data/spec/api/cq_api_spec.rb +4 -4
- data/spec/api/crx_api_spec.rb +9 -9
- data/spec/api/custom_api_spec.rb +5 -5
- data/spec/api/granite_api_spec.rb +3 -3
- data/spec/api/sling_api_spec.rb +89 -87
- data/spec/models/bundle_data_prop_spec.rb +8 -6
- data/spec/models/bundle_data_spec.rb +15 -13
- data/spec/models/bundle_info_spec.rb +9 -7
- data/spec/models/install_status_spec.rb +7 -5
- data/spec/models/install_status_status_spec.rb +8 -6
- data/spec/models/keystore_chain_items_spec.rb +11 -9
- data/spec/models/keystore_info_spec.rb +8 -6
- data/spec/models/keystore_items_spec.rb +11 -9
- data/spec/models/saml_configuration_info_spec.rb +12 -10
- data/spec/models/saml_configuration_properties_spec.rb +30 -28
- data/spec/models/saml_configuration_property_items_array_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_long_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_string_spec.rb +12 -10
- data/spec/models/truststore_info_spec.rb +8 -6
- data/spec/models/truststore_items_spec.rb +13 -11
- data/spec/spec_helper.rb +2 -2
- data/swagger_aem.gemspec +4 -4
- metadata +15 -54
- data/docs/InlineObject.md +0 -17
- data/docs/InlineObject1.md +0 -17
- data/docs/InlineObject2.md +0 -17
- data/docs/InlineObject3.md +0 -17
- data/docs/InlineObject4.md +0 -21
- data/docs/InlineObject5.md +0 -19
- data/lib/swagger_aem/models/inline_object.rb +0 -206
- data/lib/swagger_aem/models/inline_object1.rb +0 -206
- data/lib/swagger_aem/models/inline_object2.rb +0 -206
- data/lib/swagger_aem/models/inline_object3.rb +0 -206
- data/lib/swagger_aem/models/inline_object4.rb +0 -224
- data/lib/swagger_aem/models/inline_object5.rb +0 -215
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/inline_object1_spec.rb +0 -41
- data/spec/models/inline_object2_spec.rb +0 -41
- data/spec/models/inline_object3_spec.rb +0 -41
- data/spec/models/inline_object4_spec.rb +0 -53
- data/spec/models/inline_object5_spec.rb +0 -47
- data/spec/models/inline_object_spec.rb +0 -41
data/docs/TruststoreInfo.md
CHANGED
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
|
|
7
|
-
**aliases** | [**Array<TruststoreItems>**](TruststoreItems.md) | | [optional]
|
|
8
|
-
**exists** | **Boolean** | False if truststore don't exist | [optional]
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **aliases** | [**Array<TruststoreItems>**](TruststoreItems.md) | | [optional] |
|
|
8
|
+
| **exists** | **Boolean** | False if truststore don't exist | [optional] |
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Example
|
|
11
11
|
|
|
12
12
|
```ruby
|
|
13
|
-
require '
|
|
13
|
+
require 'swagger_aem'
|
|
14
14
|
|
|
15
|
-
instance = SwaggerAemClient::TruststoreInfo.new(
|
|
16
|
-
|
|
15
|
+
instance = SwaggerAemClient::TruststoreInfo.new(
|
|
16
|
+
aliases: null,
|
|
17
|
+
exists: null
|
|
18
|
+
)
|
|
17
19
|
```
|
|
18
20
|
|
|
19
|
-
|
data/docs/TruststoreItems.md
CHANGED
|
@@ -2,28 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
|
|
7
|
-
**_alias** | **String** | Truststore alias name | [optional]
|
|
8
|
-
**entry_type** | **String** | | [optional]
|
|
9
|
-
**subject** | **String** | e.g. \"CN=localhost\" | [optional]
|
|
10
|
-
**issuer** | **String** | e.g. \"CN=Admin\" | [optional]
|
|
11
|
-
**not_before** | **String** | e.g. \"Sun Jul 01 12:00:00 AEST 2018\" | [optional]
|
|
12
|
-
**not_after** | **String** | e.g. \"Sun Jun 30 23:59:50 AEST 2019\" | [optional]
|
|
13
|
-
**serial_number** | **Integer** | 18165099476682912368 | [optional]
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **_alias** | **String** | Truststore alias name | [optional] |
|
|
8
|
+
| **entry_type** | **String** | | [optional] |
|
|
9
|
+
| **subject** | **String** | e.g. \"CN=localhost\" | [optional] |
|
|
10
|
+
| **issuer** | **String** | e.g. \"CN=Admin\" | [optional] |
|
|
11
|
+
| **not_before** | **String** | e.g. \"Sun Jul 01 12:00:00 AEST 2018\" | [optional] |
|
|
12
|
+
| **not_after** | **String** | e.g. \"Sun Jun 30 23:59:50 AEST 2019\" | [optional] |
|
|
13
|
+
| **serial_number** | **Integer** | 18165099476682912368 | [optional] |
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Example
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
require '
|
|
18
|
+
require 'swagger_aem'
|
|
19
19
|
|
|
20
|
-
instance = SwaggerAemClient::TruststoreItems.new(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
instance = SwaggerAemClient::TruststoreItems.new(
|
|
21
|
+
_alias: null,
|
|
22
|
+
entry_type: null,
|
|
23
|
+
subject: null,
|
|
24
|
+
issuer: null,
|
|
25
|
+
not_before: null,
|
|
26
|
+
not_after: null,
|
|
27
|
+
serial_number: null
|
|
28
|
+
)
|
|
27
29
|
```
|
|
28
30
|
|
|
29
|
-
|
data/git_push.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
3
|
#
|
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
5
|
|
|
6
6
|
git_user_id=$1
|
|
7
7
|
git_repo_id=$2
|
|
@@ -38,14 +38,14 @@ git add .
|
|
|
38
38
|
git commit -m "$release_note"
|
|
39
39
|
|
|
40
40
|
# Sets the new remote
|
|
41
|
-
git_remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
42
|
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
43
|
|
|
44
44
|
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
45
|
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
46
|
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
47
|
else
|
|
48
|
-
git remote add origin https://${git_user_id}
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
49
|
fi
|
|
50
50
|
|
|
51
51
|
fi
|
|
@@ -55,4 +55,3 @@ git pull origin master
|
|
|
55
55
|
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
56
|
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
57
|
git push origin master 2>&1 | grep -v 'To https'
|
|
58
|
-
|
|
@@ -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:
|
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -41,21 +41,22 @@ module SwaggerAemClient
|
|
|
41
41
|
# header parameters
|
|
42
42
|
header_params = opts[:header_params] || {}
|
|
43
43
|
# HTTP header 'Accept' (if needed)
|
|
44
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
44
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
45
45
|
|
|
46
46
|
# form parameters
|
|
47
47
|
form_params = opts[:form_params] || {}
|
|
48
48
|
|
|
49
49
|
# http body (model)
|
|
50
|
-
post_body = opts[:
|
|
50
|
+
post_body = opts[:debug_body]
|
|
51
51
|
|
|
52
52
|
# return_type
|
|
53
|
-
return_type = opts[:
|
|
53
|
+
return_type = opts[:debug_return_type] || 'Array<String>'
|
|
54
54
|
|
|
55
55
|
# auth_names
|
|
56
|
-
auth_names = opts[:
|
|
56
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
57
57
|
|
|
58
58
|
new_options = opts.merge(
|
|
59
|
+
:operation => :"ConsoleApi.get_aem_product_info",
|
|
59
60
|
:header_params => header_params,
|
|
60
61
|
:query_params => query_params,
|
|
61
62
|
:form_params => form_params,
|
|
@@ -91,7 +92,7 @@ module SwaggerAemClient
|
|
|
91
92
|
fail ArgumentError, "Missing the required parameter 'name' when calling ConsoleApi.get_bundle_info"
|
|
92
93
|
end
|
|
93
94
|
# resource path
|
|
94
|
-
local_var_path = '/system/console/bundles/{name}.json'.sub('{
|
|
95
|
+
local_var_path = '/system/console/bundles/{name}.json'.sub('{name}', CGI.escape(name.to_s))
|
|
95
96
|
|
|
96
97
|
# query parameters
|
|
97
98
|
query_params = opts[:query_params] || {}
|
|
@@ -99,21 +100,22 @@ module SwaggerAemClient
|
|
|
99
100
|
# header parameters
|
|
100
101
|
header_params = opts[:header_params] || {}
|
|
101
102
|
# HTTP header 'Accept' (if needed)
|
|
102
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
103
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
103
104
|
|
|
104
105
|
# form parameters
|
|
105
106
|
form_params = opts[:form_params] || {}
|
|
106
107
|
|
|
107
108
|
# http body (model)
|
|
108
|
-
post_body = opts[:
|
|
109
|
+
post_body = opts[:debug_body]
|
|
109
110
|
|
|
110
111
|
# return_type
|
|
111
|
-
return_type = opts[:
|
|
112
|
+
return_type = opts[:debug_return_type] || 'BundleInfo'
|
|
112
113
|
|
|
113
114
|
# auth_names
|
|
114
|
-
auth_names = opts[:
|
|
115
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
115
116
|
|
|
116
117
|
new_options = opts.merge(
|
|
118
|
+
:operation => :"ConsoleApi.get_bundle_info",
|
|
117
119
|
:header_params => header_params,
|
|
118
120
|
:query_params => query_params,
|
|
119
121
|
:form_params => form_params,
|
|
@@ -151,21 +153,22 @@ module SwaggerAemClient
|
|
|
151
153
|
# header parameters
|
|
152
154
|
header_params = opts[:header_params] || {}
|
|
153
155
|
# HTTP header 'Accept' (if needed)
|
|
154
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/xml'])
|
|
156
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/xml']) unless header_params['Accept']
|
|
155
157
|
|
|
156
158
|
# form parameters
|
|
157
159
|
form_params = opts[:form_params] || {}
|
|
158
160
|
|
|
159
161
|
# http body (model)
|
|
160
|
-
post_body = opts[:
|
|
162
|
+
post_body = opts[:debug_body]
|
|
161
163
|
|
|
162
164
|
# return_type
|
|
163
|
-
return_type = opts[:
|
|
165
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
164
166
|
|
|
165
167
|
# auth_names
|
|
166
|
-
auth_names = opts[:
|
|
168
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
167
169
|
|
|
168
170
|
new_options = opts.merge(
|
|
171
|
+
:operation => :"ConsoleApi.get_config_mgr",
|
|
169
172
|
:header_params => header_params,
|
|
170
173
|
:query_params => query_params,
|
|
171
174
|
:form_params => form_params,
|
|
@@ -207,7 +210,7 @@ module SwaggerAemClient
|
|
|
207
210
|
fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_bundle"
|
|
208
211
|
end
|
|
209
212
|
# resource path
|
|
210
|
-
local_var_path = '/system/console/bundles/{name}'.sub('{
|
|
213
|
+
local_var_path = '/system/console/bundles/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
211
214
|
|
|
212
215
|
# query parameters
|
|
213
216
|
query_params = opts[:query_params] || {}
|
|
@@ -220,15 +223,16 @@ module SwaggerAemClient
|
|
|
220
223
|
form_params = opts[:form_params] || {}
|
|
221
224
|
|
|
222
225
|
# http body (model)
|
|
223
|
-
post_body = opts[:
|
|
226
|
+
post_body = opts[:debug_body]
|
|
224
227
|
|
|
225
228
|
# return_type
|
|
226
|
-
return_type = opts[:
|
|
229
|
+
return_type = opts[:debug_return_type]
|
|
227
230
|
|
|
228
231
|
# auth_names
|
|
229
|
-
auth_names = opts[:
|
|
232
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
230
233
|
|
|
231
234
|
new_options = opts.merge(
|
|
235
|
+
:operation => :"ConsoleApi.post_bundle",
|
|
232
236
|
:header_params => header_params,
|
|
233
237
|
:query_params => query_params,
|
|
234
238
|
:form_params => form_params,
|
|
@@ -264,7 +268,7 @@ module SwaggerAemClient
|
|
|
264
268
|
fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_jmx_repository"
|
|
265
269
|
end
|
|
266
270
|
# resource path
|
|
267
|
-
local_var_path = '/system/console/jmx/com.adobe.granite:type=Repository/op/{action}'.sub('{
|
|
271
|
+
local_var_path = '/system/console/jmx/com.adobe.granite:type=Repository/op/{action}'.sub('{action}', CGI.escape(action.to_s))
|
|
268
272
|
|
|
269
273
|
# query parameters
|
|
270
274
|
query_params = opts[:query_params] || {}
|
|
@@ -276,15 +280,16 @@ module SwaggerAemClient
|
|
|
276
280
|
form_params = opts[:form_params] || {}
|
|
277
281
|
|
|
278
282
|
# http body (model)
|
|
279
|
-
post_body = opts[:
|
|
283
|
+
post_body = opts[:debug_body]
|
|
280
284
|
|
|
281
285
|
# return_type
|
|
282
|
-
return_type = opts[:
|
|
286
|
+
return_type = opts[:debug_return_type]
|
|
283
287
|
|
|
284
288
|
# auth_names
|
|
285
|
-
auth_names = opts[:
|
|
289
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
286
290
|
|
|
287
291
|
new_options = opts.merge(
|
|
292
|
+
:operation => :"ConsoleApi.post_jmx_repository",
|
|
288
293
|
:header_params => header_params,
|
|
289
294
|
:query_params => query_params,
|
|
290
295
|
:form_params => form_params,
|
|
@@ -412,21 +417,22 @@ module SwaggerAemClient
|
|
|
412
417
|
# header parameters
|
|
413
418
|
header_params = opts[:header_params] || {}
|
|
414
419
|
# HTTP header 'Accept' (if needed)
|
|
415
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
420
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
|
|
416
421
|
|
|
417
422
|
# form parameters
|
|
418
423
|
form_params = opts[:form_params] || {}
|
|
419
424
|
|
|
420
425
|
# http body (model)
|
|
421
|
-
post_body = opts[:
|
|
426
|
+
post_body = opts[:debug_body]
|
|
422
427
|
|
|
423
428
|
# return_type
|
|
424
|
-
return_type = opts[:
|
|
429
|
+
return_type = opts[:debug_return_type] || 'SamlConfigurationInfo'
|
|
425
430
|
|
|
426
431
|
# auth_names
|
|
427
|
-
auth_names = opts[:
|
|
432
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
428
433
|
|
|
429
434
|
new_options = opts.merge(
|
|
435
|
+
:operation => :"ConsoleApi.post_saml_configuration",
|
|
430
436
|
:header_params => header_params,
|
|
431
437
|
:query_params => query_params,
|
|
432
438
|
:form_params => form_params,
|
|
@@ -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:
|
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -41,21 +41,22 @@ module SwaggerAemClient
|
|
|
41
41
|
# header parameters
|
|
42
42
|
header_params = opts[:header_params] || {}
|
|
43
43
|
# HTTP header 'Accept' (if needed)
|
|
44
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/html'])
|
|
44
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/html']) unless header_params['Accept']
|
|
45
45
|
|
|
46
46
|
# form parameters
|
|
47
47
|
form_params = opts[:form_params] || {}
|
|
48
48
|
|
|
49
49
|
# http body (model)
|
|
50
|
-
post_body = opts[:
|
|
50
|
+
post_body = opts[:debug_body]
|
|
51
51
|
|
|
52
52
|
# return_type
|
|
53
|
-
return_type = opts[:
|
|
53
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
54
54
|
|
|
55
55
|
# auth_names
|
|
56
|
-
auth_names = opts[:
|
|
56
|
+
auth_names = opts[:debug_auth_names] || []
|
|
57
57
|
|
|
58
58
|
new_options = opts.merge(
|
|
59
|
+
:operation => :"CqApi.get_login_page",
|
|
59
60
|
:header_params => header_params,
|
|
60
61
|
:query_params => query_params,
|
|
61
62
|
:form_params => form_params,
|
|
@@ -111,15 +112,16 @@ module SwaggerAemClient
|
|
|
111
112
|
form_params = opts[:form_params] || {}
|
|
112
113
|
|
|
113
114
|
# http body (model)
|
|
114
|
-
post_body = opts[:
|
|
115
|
+
post_body = opts[:debug_body]
|
|
115
116
|
|
|
116
117
|
# return_type
|
|
117
|
-
return_type = opts[:
|
|
118
|
+
return_type = opts[:debug_return_type]
|
|
118
119
|
|
|
119
120
|
# auth_names
|
|
120
|
-
auth_names = opts[:
|
|
121
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
121
122
|
|
|
122
123
|
new_options = opts.merge(
|
|
124
|
+
:operation => :"CqApi.post_cq_actions",
|
|
123
125
|
:header_params => header_params,
|
|
124
126
|
:query_params => query_params,
|
|
125
127
|
:form_params => form_params,
|
|
@@ -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:
|
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -41,21 +41,22 @@ module SwaggerAemClient
|
|
|
41
41
|
# header parameters
|
|
42
42
|
header_params = opts[:header_params] || {}
|
|
43
43
|
# HTTP header 'Accept' (if needed)
|
|
44
|
-
header_params['Accept'] = @api_client.select_header_accept(['plain/text'])
|
|
44
|
+
header_params['Accept'] = @api_client.select_header_accept(['plain/text']) unless header_params['Accept']
|
|
45
45
|
|
|
46
46
|
# form parameters
|
|
47
47
|
form_params = opts[:form_params] || {}
|
|
48
48
|
|
|
49
49
|
# http body (model)
|
|
50
|
-
post_body = opts[:
|
|
50
|
+
post_body = opts[:debug_body]
|
|
51
51
|
|
|
52
52
|
# return_type
|
|
53
|
-
return_type = opts[:
|
|
53
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
54
54
|
|
|
55
55
|
# auth_names
|
|
56
|
-
auth_names = opts[:
|
|
56
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
57
57
|
|
|
58
58
|
new_options = opts.merge(
|
|
59
|
+
:operation => :"CrxApi.get_crxde_status",
|
|
59
60
|
:header_params => header_params,
|
|
60
61
|
:query_params => query_params,
|
|
61
62
|
:form_params => form_params,
|
|
@@ -93,21 +94,22 @@ module SwaggerAemClient
|
|
|
93
94
|
# header parameters
|
|
94
95
|
header_params = opts[:header_params] || {}
|
|
95
96
|
# HTTP header 'Accept' (if needed)
|
|
96
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
97
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
97
98
|
|
|
98
99
|
# form parameters
|
|
99
100
|
form_params = opts[:form_params] || {}
|
|
100
101
|
|
|
101
102
|
# http body (model)
|
|
102
|
-
post_body = opts[:
|
|
103
|
+
post_body = opts[:debug_body]
|
|
103
104
|
|
|
104
105
|
# return_type
|
|
105
|
-
return_type = opts[:
|
|
106
|
+
return_type = opts[:debug_return_type] || 'InstallStatus'
|
|
106
107
|
|
|
107
108
|
# auth_names
|
|
108
|
-
auth_names = opts[:
|
|
109
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
109
110
|
|
|
110
111
|
new_options = opts.merge(
|
|
112
|
+
:operation => :"CrxApi.get_install_status",
|
|
111
113
|
:header_params => header_params,
|
|
112
114
|
:query_params => query_params,
|
|
113
115
|
:form_params => form_params,
|
|
@@ -145,21 +147,22 @@ module SwaggerAemClient
|
|
|
145
147
|
# header parameters
|
|
146
148
|
header_params = opts[:header_params] || {}
|
|
147
149
|
# HTTP header 'Accept' (if needed)
|
|
148
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/html'])
|
|
150
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/html']) unless header_params['Accept']
|
|
149
151
|
|
|
150
152
|
# form parameters
|
|
151
153
|
form_params = opts[:form_params] || {}
|
|
152
154
|
|
|
153
155
|
# http body (model)
|
|
154
|
-
post_body = opts[:
|
|
156
|
+
post_body = opts[:debug_body]
|
|
155
157
|
|
|
156
158
|
# return_type
|
|
157
|
-
return_type = opts[:
|
|
159
|
+
return_type = opts[:debug_return_type]
|
|
158
160
|
|
|
159
161
|
# auth_names
|
|
160
|
-
auth_names = opts[:
|
|
162
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
161
163
|
|
|
162
164
|
new_options = opts.merge(
|
|
165
|
+
:operation => :"CrxApi.get_package_manager_servlet",
|
|
163
166
|
:header_params => header_params,
|
|
164
167
|
:query_params => query_params,
|
|
165
168
|
:form_params => form_params,
|
|
@@ -204,21 +207,22 @@ module SwaggerAemClient
|
|
|
204
207
|
# header parameters
|
|
205
208
|
header_params = opts[:header_params] || {}
|
|
206
209
|
# HTTP header 'Accept' (if needed)
|
|
207
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/xml'])
|
|
210
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/xml']) unless header_params['Accept']
|
|
208
211
|
|
|
209
212
|
# form parameters
|
|
210
213
|
form_params = opts[:form_params] || {}
|
|
211
214
|
|
|
212
215
|
# http body (model)
|
|
213
|
-
post_body = opts[:
|
|
216
|
+
post_body = opts[:debug_body]
|
|
214
217
|
|
|
215
218
|
# return_type
|
|
216
|
-
return_type = opts[:
|
|
219
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
217
220
|
|
|
218
221
|
# auth_names
|
|
219
|
-
auth_names = opts[:
|
|
222
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
220
223
|
|
|
221
224
|
new_options = opts.merge(
|
|
225
|
+
:operation => :"CrxApi.post_package_service",
|
|
222
226
|
:header_params => header_params,
|
|
223
227
|
:query_params => query_params,
|
|
224
228
|
:form_params => form_params,
|
|
@@ -274,7 +278,7 @@ module SwaggerAemClient
|
|
|
274
278
|
fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service_json"
|
|
275
279
|
end
|
|
276
280
|
# resource path
|
|
277
|
-
local_var_path = '/crx/packmgr/service/.json/{path}'.sub('{
|
|
281
|
+
local_var_path = '/crx/packmgr/service/.json/{path}'.sub('{path}', ERB::Util.url_encode(path.to_s))
|
|
278
282
|
|
|
279
283
|
# query parameters
|
|
280
284
|
query_params = opts[:query_params] || {}
|
|
@@ -289,24 +293,28 @@ module SwaggerAemClient
|
|
|
289
293
|
# header parameters
|
|
290
294
|
header_params = opts[:header_params] || {}
|
|
291
295
|
# HTTP header 'Accept' (if needed)
|
|
292
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
296
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
293
297
|
# HTTP header 'Content-Type'
|
|
294
|
-
|
|
298
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
|
299
|
+
if !content_type.nil?
|
|
300
|
+
header_params['Content-Type'] = content_type
|
|
301
|
+
end
|
|
295
302
|
|
|
296
303
|
# form parameters
|
|
297
304
|
form_params = opts[:form_params] || {}
|
|
298
305
|
form_params['package'] = opts[:'package'] if !opts[:'package'].nil?
|
|
299
306
|
|
|
300
307
|
# http body (model)
|
|
301
|
-
post_body = opts[:
|
|
308
|
+
post_body = opts[:debug_body]
|
|
302
309
|
|
|
303
310
|
# return_type
|
|
304
|
-
return_type = opts[:
|
|
311
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
305
312
|
|
|
306
313
|
# auth_names
|
|
307
|
-
auth_names = opts[:
|
|
314
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
308
315
|
|
|
309
316
|
new_options = opts.merge(
|
|
317
|
+
:operation => :"CrxApi.post_package_service_json",
|
|
310
318
|
:header_params => header_params,
|
|
311
319
|
:query_params => query_params,
|
|
312
320
|
:form_params => form_params,
|
|
@@ -378,21 +386,22 @@ module SwaggerAemClient
|
|
|
378
386
|
# header parameters
|
|
379
387
|
header_params = opts[:header_params] || {}
|
|
380
388
|
# HTTP header 'Accept' (if needed)
|
|
381
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
382
390
|
|
|
383
391
|
# form parameters
|
|
384
392
|
form_params = opts[:form_params] || {}
|
|
385
393
|
|
|
386
394
|
# http body (model)
|
|
387
|
-
post_body = opts[:
|
|
395
|
+
post_body = opts[:debug_body]
|
|
388
396
|
|
|
389
397
|
# return_type
|
|
390
|
-
return_type = opts[:
|
|
398
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
391
399
|
|
|
392
400
|
# auth_names
|
|
393
|
-
auth_names = opts[:
|
|
401
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
394
402
|
|
|
395
403
|
new_options = opts.merge(
|
|
404
|
+
:operation => :"CrxApi.post_package_update",
|
|
396
405
|
:header_params => header_params,
|
|
397
406
|
:query_params => query_params,
|
|
398
407
|
:form_params => form_params,
|
|
@@ -451,21 +460,22 @@ module SwaggerAemClient
|
|
|
451
460
|
# header parameters
|
|
452
461
|
header_params = opts[:header_params] || {}
|
|
453
462
|
# HTTP header 'Accept' (if needed)
|
|
454
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
|
463
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
|
|
455
464
|
|
|
456
465
|
# form parameters
|
|
457
466
|
form_params = opts[:form_params] || {}
|
|
458
467
|
|
|
459
468
|
# http body (model)
|
|
460
|
-
post_body = opts[:
|
|
469
|
+
post_body = opts[:debug_body]
|
|
461
470
|
|
|
462
471
|
# return_type
|
|
463
|
-
return_type = opts[:
|
|
472
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
464
473
|
|
|
465
474
|
# auth_names
|
|
466
|
-
auth_names = opts[:
|
|
475
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
467
476
|
|
|
468
477
|
new_options = opts.merge(
|
|
478
|
+
:operation => :"CrxApi.post_set_password",
|
|
469
479
|
:header_params => header_params,
|
|
470
480
|
:query_params => query_params,
|
|
471
481
|
:form_params => form_params,
|
|
@@ -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:
|
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
|
7
7
|
Contact: opensource@shinesolutions.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -47,21 +47,22 @@ module SwaggerAemClient
|
|
|
47
47
|
# header parameters
|
|
48
48
|
header_params = opts[:header_params] || {}
|
|
49
49
|
# HTTP header 'Accept' (if needed)
|
|
50
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
51
51
|
|
|
52
52
|
# form parameters
|
|
53
53
|
form_params = opts[:form_params] || {}
|
|
54
54
|
|
|
55
55
|
# http body (model)
|
|
56
|
-
post_body = opts[:
|
|
56
|
+
post_body = opts[:debug_body]
|
|
57
57
|
|
|
58
58
|
# return_type
|
|
59
|
-
return_type = opts[:
|
|
59
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
60
60
|
|
|
61
61
|
# auth_names
|
|
62
|
-
auth_names = opts[:
|
|
62
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
63
63
|
|
|
64
64
|
new_options = opts.merge(
|
|
65
|
+
:operation => :"CustomApi.get_aem_health_check",
|
|
65
66
|
:header_params => header_params,
|
|
66
67
|
:query_params => query_params,
|
|
67
68
|
:form_params => form_params,
|
|
@@ -109,15 +110,16 @@ module SwaggerAemClient
|
|
|
109
110
|
form_params = opts[:form_params] || {}
|
|
110
111
|
|
|
111
112
|
# http body (model)
|
|
112
|
-
post_body = opts[:
|
|
113
|
+
post_body = opts[:debug_body]
|
|
113
114
|
|
|
114
115
|
# return_type
|
|
115
|
-
return_type = opts[:
|
|
116
|
+
return_type = opts[:debug_return_type]
|
|
116
117
|
|
|
117
118
|
# auth_names
|
|
118
|
-
auth_names = opts[:
|
|
119
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
119
120
|
|
|
120
121
|
new_options = opts.merge(
|
|
122
|
+
:operation => :"CustomApi.post_config_aem_health_check_servlet",
|
|
121
123
|
:header_params => header_params,
|
|
122
124
|
:query_params => query_params,
|
|
123
125
|
:form_params => form_params,
|
|
@@ -165,15 +167,16 @@ module SwaggerAemClient
|
|
|
165
167
|
form_params = opts[:form_params] || {}
|
|
166
168
|
|
|
167
169
|
# http body (model)
|
|
168
|
-
post_body = opts[:
|
|
170
|
+
post_body = opts[:debug_body]
|
|
169
171
|
|
|
170
172
|
# return_type
|
|
171
|
-
return_type = opts[:
|
|
173
|
+
return_type = opts[:debug_return_type]
|
|
172
174
|
|
|
173
175
|
# auth_names
|
|
174
|
-
auth_names = opts[:
|
|
176
|
+
auth_names = opts[:debug_auth_names] || ['aemAuth']
|
|
175
177
|
|
|
176
178
|
new_options = opts.merge(
|
|
179
|
+
:operation => :"CustomApi.post_config_aem_password_reset",
|
|
177
180
|
:header_params => header_params,
|
|
178
181
|
:query_params => query_params,
|
|
179
182
|
:form_params => form_params,
|