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.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +107 -34
  3. data/README.md +8 -12
  4. data/bin/byebug +16 -0
  5. data/bin/coderay +16 -0
  6. data/bin/htmldiff +16 -0
  7. data/bin/ldiff +16 -0
  8. data/bin/pry +16 -0
  9. data/bin/racc +16 -0
  10. data/bin/rake +16 -0
  11. data/bin/rspec +16 -0
  12. data/bin/rubocop +16 -0
  13. data/bin/ruby-parse +16 -0
  14. data/bin/ruby-rewrite +16 -0
  15. data/docs/BundleData.md +24 -23
  16. data/docs/BundleDataProp.md +10 -9
  17. data/docs/BundleInfo.md +12 -11
  18. data/docs/ConsoleApi.md +188 -79
  19. data/docs/CqApi.md +52 -16
  20. data/docs/CrxApi.md +192 -64
  21. data/docs/CustomApi.md +85 -32
  22. data/docs/GraniteApi.md +37 -20
  23. data/docs/InstallStatus.md +8 -7
  24. data/docs/InstallStatusStatus.md +10 -9
  25. data/docs/KeystoreChainItems.md +16 -15
  26. data/docs/KeystoreInfo.md +10 -9
  27. data/docs/KeystoreItems.md +16 -15
  28. data/docs/SamlConfigurationInfo.md +18 -17
  29. data/docs/SamlConfigurationProperties.md +54 -53
  30. data/docs/SamlConfigurationPropertyItemsArray.md +18 -17
  31. data/docs/SamlConfigurationPropertyItemsBoolean.md +18 -17
  32. data/docs/SamlConfigurationPropertyItemsLong.md +18 -17
  33. data/docs/SamlConfigurationPropertyItemsString.md +18 -17
  34. data/docs/SlingApi.md +1021 -496
  35. data/docs/TruststoreInfo.md +10 -9
  36. data/docs/TruststoreItems.md +20 -19
  37. data/git_push.sh +3 -4
  38. data/lib/swagger_aem/api/console_api.rb +33 -27
  39. data/lib/swagger_aem/api/cq_api.rb +11 -9
  40. data/lib/swagger_aem/api/crx_api.rb +42 -32
  41. data/lib/swagger_aem/api/custom_api.rb +15 -12
  42. data/lib/swagger_aem/api/granite_api.rb +11 -7
  43. data/lib/swagger_aem/api/sling_api.rb +342 -298
  44. data/lib/swagger_aem/api_client.rb +73 -64
  45. data/lib/swagger_aem/api_error.rb +3 -2
  46. data/lib/swagger_aem/api_model_base.rb +88 -0
  47. data/lib/swagger_aem/configuration.rb +75 -15
  48. data/lib/swagger_aem/models/bundle_data.rb +32 -91
  49. data/lib/swagger_aem/models/bundle_data_prop.rb +32 -91
  50. data/lib/swagger_aem/models/bundle_info.rb +32 -91
  51. data/lib/swagger_aem/models/install_status.rb +32 -91
  52. data/lib/swagger_aem/models/install_status_status.rb +32 -91
  53. data/lib/swagger_aem/models/keystore_chain_items.rb +32 -91
  54. data/lib/swagger_aem/models/keystore_info.rb +32 -91
  55. data/lib/swagger_aem/models/keystore_items.rb +32 -91
  56. data/lib/swagger_aem/models/saml_configuration_info.rb +32 -91
  57. data/lib/swagger_aem/models/saml_configuration_properties.rb +32 -91
  58. data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +32 -91
  59. data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +32 -91
  60. data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +32 -91
  61. data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +32 -91
  62. data/lib/swagger_aem/models/truststore_info.rb +32 -91
  63. data/lib/swagger_aem/models/truststore_items.rb +32 -91
  64. data/lib/swagger_aem/version.rb +3 -3
  65. data/lib/swagger_aem.rb +3 -8
  66. data/spec/api/console_api_spec.rb +8 -8
  67. data/spec/api/cq_api_spec.rb +4 -4
  68. data/spec/api/crx_api_spec.rb +9 -9
  69. data/spec/api/custom_api_spec.rb +5 -5
  70. data/spec/api/granite_api_spec.rb +3 -3
  71. data/spec/api/sling_api_spec.rb +89 -87
  72. data/spec/models/bundle_data_prop_spec.rb +8 -6
  73. data/spec/models/bundle_data_spec.rb +15 -13
  74. data/spec/models/bundle_info_spec.rb +9 -7
  75. data/spec/models/install_status_spec.rb +7 -5
  76. data/spec/models/install_status_status_spec.rb +8 -6
  77. data/spec/models/keystore_chain_items_spec.rb +11 -9
  78. data/spec/models/keystore_info_spec.rb +8 -6
  79. data/spec/models/keystore_items_spec.rb +11 -9
  80. data/spec/models/saml_configuration_info_spec.rb +12 -10
  81. data/spec/models/saml_configuration_properties_spec.rb +30 -28
  82. data/spec/models/saml_configuration_property_items_array_spec.rb +12 -10
  83. data/spec/models/saml_configuration_property_items_boolean_spec.rb +12 -10
  84. data/spec/models/saml_configuration_property_items_long_spec.rb +12 -10
  85. data/spec/models/saml_configuration_property_items_string_spec.rb +12 -10
  86. data/spec/models/truststore_info_spec.rb +8 -6
  87. data/spec/models/truststore_items_spec.rb +13 -11
  88. data/spec/spec_helper.rb +2 -2
  89. data/swagger_aem.gemspec +4 -4
  90. metadata +15 -54
  91. data/docs/InlineObject.md +0 -17
  92. data/docs/InlineObject1.md +0 -17
  93. data/docs/InlineObject2.md +0 -17
  94. data/docs/InlineObject3.md +0 -17
  95. data/docs/InlineObject4.md +0 -21
  96. data/docs/InlineObject5.md +0 -19
  97. data/lib/swagger_aem/models/inline_object.rb +0 -206
  98. data/lib/swagger_aem/models/inline_object1.rb +0 -206
  99. data/lib/swagger_aem/models/inline_object2.rb +0 -206
  100. data/lib/swagger_aem/models/inline_object3.rb +0 -206
  101. data/lib/swagger_aem/models/inline_object4.rb +0 -224
  102. data/lib/swagger_aem/models/inline_object5.rb +0 -215
  103. data/spec/api_client_spec.rb +0 -226
  104. data/spec/configuration_spec.rb +0 -42
  105. data/spec/models/inline_object1_spec.rb +0 -41
  106. data/spec/models/inline_object2_spec.rb +0 -41
  107. data/spec/models/inline_object3_spec.rb +0 -41
  108. data/spec/models/inline_object4_spec.rb +0 -53
  109. data/spec/models/inline_object5_spec.rb +0 -47
  110. data/spec/models/inline_object_spec.rb +0 -41
@@ -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
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'SwaggerAemClient'
13
+ require 'swagger_aem'
14
14
 
15
- instance = SwaggerAemClient::TruststoreInfo.new(aliases: null,
16
- exists: null)
15
+ instance = SwaggerAemClient::TruststoreInfo.new(
16
+ aliases: null,
17
+ exists: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -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
- ## Code Sample
15
+ ## Example
16
16
 
17
17
  ```ruby
18
- require 'SwaggerAemClient'
18
+ require 'swagger_aem'
19
19
 
20
- instance = SwaggerAemClient::TruststoreItems.new(_alias: null,
21
- entry_type: null,
22
- subject: null,
23
- issuer: null,
24
- not_before: null,
25
- not_after: null,
26
- serial_number: null)
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-pestore-perl "minor update" "gitlab.com"
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=`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}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
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: 3.7.1-pre.0
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
- OpenAPI Generator version: 4.3.1
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[:body]
50
+ post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:return_type] || 'Array<String>'
53
+ return_type = opts[:debug_return_type] || 'Array<String>'
54
54
 
55
55
  # auth_names
56
- auth_names = opts[:auth_names] || ['aemAuth']
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('{' + 'name' + '}', CGI.escape(name.to_s))
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[:body]
109
+ post_body = opts[:debug_body]
109
110
 
110
111
  # return_type
111
- return_type = opts[:return_type] || 'BundleInfo'
112
+ return_type = opts[:debug_return_type] || 'BundleInfo'
112
113
 
113
114
  # auth_names
114
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
162
+ post_body = opts[:debug_body]
161
163
 
162
164
  # return_type
163
- return_type = opts[:return_type] || 'String'
165
+ return_type = opts[:debug_return_type] || 'String'
164
166
 
165
167
  # auth_names
166
- auth_names = opts[:auth_names] || ['aemAuth']
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('{' + 'name' + '}', CGI.escape(name.to_s))
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[:body]
226
+ post_body = opts[:debug_body]
224
227
 
225
228
  # return_type
226
- return_type = opts[:return_type]
229
+ return_type = opts[:debug_return_type]
227
230
 
228
231
  # auth_names
229
- auth_names = opts[:auth_names] || ['aemAuth']
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('{' + 'action' + '}', CGI.escape(action.to_s))
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[:body]
283
+ post_body = opts[:debug_body]
280
284
 
281
285
  # return_type
282
- return_type = opts[:return_type]
286
+ return_type = opts[:debug_return_type]
283
287
 
284
288
  # auth_names
285
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
426
+ post_body = opts[:debug_body]
422
427
 
423
428
  # return_type
424
- return_type = opts[:return_type] || 'SamlConfigurationInfo'
429
+ return_type = opts[:debug_return_type] || 'SamlConfigurationInfo'
425
430
 
426
431
  # auth_names
427
- auth_names = opts[:auth_names] || ['aemAuth']
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: 3.7.1-pre.0
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
- OpenAPI Generator version: 4.3.1
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[:body]
50
+ post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:return_type] || 'String'
53
+ return_type = opts[:debug_return_type] || 'String'
54
54
 
55
55
  # auth_names
56
- auth_names = opts[:auth_names] || []
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[:body]
115
+ post_body = opts[:debug_body]
115
116
 
116
117
  # return_type
117
- return_type = opts[:return_type]
118
+ return_type = opts[:debug_return_type]
118
119
 
119
120
  # auth_names
120
- auth_names = opts[:auth_names] || ['aemAuth']
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: 3.7.1-pre.0
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
- OpenAPI Generator version: 4.3.1
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[:body]
50
+ post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:return_type] || 'String'
53
+ return_type = opts[:debug_return_type] || 'String'
54
54
 
55
55
  # auth_names
56
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
103
+ post_body = opts[:debug_body]
103
104
 
104
105
  # return_type
105
- return_type = opts[:return_type] || 'InstallStatus'
106
+ return_type = opts[:debug_return_type] || 'InstallStatus'
106
107
 
107
108
  # auth_names
108
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
156
+ post_body = opts[:debug_body]
155
157
 
156
158
  # return_type
157
- return_type = opts[:return_type]
159
+ return_type = opts[:debug_return_type]
158
160
 
159
161
  # auth_names
160
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
216
+ post_body = opts[:debug_body]
214
217
 
215
218
  # return_type
216
- return_type = opts[:return_type] || 'String'
219
+ return_type = opts[:debug_return_type] || 'String'
217
220
 
218
221
  # auth_names
219
- auth_names = opts[:auth_names] || ['aemAuth']
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('{' + 'path' + '}', ERB::Util.url_encode(path.to_s))
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
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
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[:body]
308
+ post_body = opts[:debug_body]
302
309
 
303
310
  # return_type
304
- return_type = opts[:return_type] || 'String'
311
+ return_type = opts[:debug_return_type] || 'String'
305
312
 
306
313
  # auth_names
307
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
395
+ post_body = opts[:debug_body]
388
396
 
389
397
  # return_type
390
- return_type = opts[:return_type] || 'String'
398
+ return_type = opts[:debug_return_type] || 'String'
391
399
 
392
400
  # auth_names
393
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
469
+ post_body = opts[:debug_body]
461
470
 
462
471
  # return_type
463
- return_type = opts[:return_type] || 'String'
472
+ return_type = opts[:debug_return_type] || 'String'
464
473
 
465
474
  # auth_names
466
- auth_names = opts[:auth_names] || ['aemAuth']
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: 3.7.1-pre.0
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
- OpenAPI Generator version: 4.3.1
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[:body]
56
+ post_body = opts[:debug_body]
57
57
 
58
58
  # return_type
59
- return_type = opts[:return_type] || 'String'
59
+ return_type = opts[:debug_return_type] || 'String'
60
60
 
61
61
  # auth_names
62
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
113
+ post_body = opts[:debug_body]
113
114
 
114
115
  # return_type
115
- return_type = opts[:return_type]
116
+ return_type = opts[:debug_return_type]
116
117
 
117
118
  # auth_names
118
- auth_names = opts[:auth_names] || ['aemAuth']
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[:body]
170
+ post_body = opts[:debug_body]
169
171
 
170
172
  # return_type
171
- return_type = opts[:return_type]
173
+ return_type = opts[:debug_return_type]
172
174
 
173
175
  # auth_names
174
- auth_names = opts[:auth_names] || ['aemAuth']
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,