swagger_aem 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd1a8f3015e32a00d0ed797c8c992a05d59d634a
4
- data.tar.gz: e5b3bbeda5ea96fe0e09e488f70c2231cd436c51
3
+ metadata.gz: 09935d1d7291adf52c38eb633a3564002a5d164f
4
+ data.tar.gz: 2d4d4d2c1b8f9d23076a3313dc1e94ce040c5571
5
5
  SHA512:
6
- metadata.gz: f79e544cb836046c09cfffbdfbf58dd378fb5a3f5d86ffa272a9e09fe8ec8d8363bd4212c01e352033941b2bce8c6ce2826456c51ae8781feff2675e5a3ba0c1
7
- data.tar.gz: bc7ef8912e741dbcf166eeae5e3543eaecbc538bf712e3183d0633868f45b429926fc1a5983980ceb75b6f05d5120168d539c9e66ad4363debed2b09a71e506d
6
+ metadata.gz: 1fb52be9e15862f0f647153caa668d6b326fdc453433d72916598be0714661d0a2c63b42d20d77b0343869955fdc433c3a26965479fb1cbd71bb06fa5b06e6d6
7
+ data.tar.gz: 6634a1636426cac783d7cb08247ba95212db73d1cdc1f41d89132e10d7fa81468bf3b5bff267aa3a1dc604035b27d9ec5fe6070ea3c3fbbca0d4adeec24ab0e3
data/README.md CHANGED
@@ -7,7 +7,7 @@ Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.2.0
10
- - Package version: 1.1.0
10
+ - Package version: 1.1.1
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://shinesolutions.com](http://shinesolutions.com)
13
13
 
@@ -24,15 +24,15 @@ gem build swagger_aem.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./swagger_aem-1.1.0.gem
27
+ gem install ./swagger_aem-1.1.1.gem
28
28
  ```
29
- (for development, run `gem install --dev ./swagger_aem-1.1.0.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./swagger_aem-1.1.1.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'swagger_aem', '~> 1.1.0'
35
+ gem 'swagger_aem', '~> 1.1.1'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -79,7 +79,7 @@ end
79
79
 
80
80
  ## Documentation for API Endpoints
81
81
 
82
- All URIs are relative to *http://localhost/*
82
+ All URIs are relative to *http://localhost*
83
83
 
84
84
  Class | Method | HTTP request | Description
85
85
  ------------ | ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SwaggerAemClient::ConsoleApi
2
2
 
3
- All URIs are relative to *http://localhost/*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SwaggerAemClient::CqApi
2
2
 
3
- All URIs are relative to *http://localhost/*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SwaggerAemClient::CrxApi
2
2
 
3
- All URIs are relative to *http://localhost/*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SwaggerAemClient::CustomApi
2
2
 
3
- All URIs are relative to *http://localhost/*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # SwaggerAemClient::SlingApi
2
2
 
3
- All URIs are relative to *http://localhost/*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -41,11 +42,15 @@ module SwaggerAemClient
41
42
  @api_client.config.logger.debug "Calling API: ConsoleApi.post_bundle ..."
42
43
  end
43
44
  # verify the required parameter 'name' is set
44
- fail ArgumentError, "Missing the required parameter 'name' when calling ConsoleApi.post_bundle" if name.nil?
45
+ if @api_client.config.client_side_validation && name.nil?
46
+ fail ArgumentError, "Missing the required parameter 'name' when calling ConsoleApi.post_bundle"
47
+ end
45
48
  # verify the required parameter 'action' is set
46
- fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_bundle" if action.nil?
49
+ if @api_client.config.client_side_validation && action.nil?
50
+ fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_bundle"
51
+ end
47
52
  # resource path
48
- local_var_path = "/system/console/bundles/{name}".sub('{format}','json').sub('{' + 'name' + '}', name.to_s)
53
+ local_var_path = "/system/console/bundles/{name}".sub('{' + 'name' + '}', name.to_s)
49
54
 
50
55
  # query parameters
51
56
  query_params = {}
@@ -94,9 +99,11 @@ module SwaggerAemClient
94
99
  @api_client.config.logger.debug "Calling API: ConsoleApi.post_jmx_repository ..."
95
100
  end
96
101
  # verify the required parameter 'action' is set
97
- fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_jmx_repository" if action.nil?
102
+ if @api_client.config.client_side_validation && action.nil?
103
+ fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_jmx_repository"
104
+ end
98
105
  # resource path
99
- local_var_path = "/system/console/jmx/com.adobe.granite:type=Repository/op/{action}".sub('{format}','json').sub('{' + 'action' + '}', action.to_s)
106
+ local_var_path = "/system/console/jmx/com.adobe.granite:type=Repository/op/{action}".sub('{' + 'action' + '}', action.to_s)
100
107
 
101
108
  # query parameters
102
109
  query_params = {}
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -37,7 +38,7 @@ module SwaggerAemClient
37
38
  @api_client.config.logger.debug "Calling API: CqApi.get_login_page ..."
38
39
  end
39
40
  # resource path
40
- local_var_path = "/libs/granite/core/content/login.html".sub('{format}','json')
41
+ local_var_path = "/libs/granite/core/content/login.html"
41
42
 
42
43
  # query parameters
43
44
  query_params = {}
@@ -88,11 +89,15 @@ module SwaggerAemClient
88
89
  @api_client.config.logger.debug "Calling API: CqApi.post_cq_actions ..."
89
90
  end
90
91
  # verify the required parameter 'authorizable_id' is set
91
- fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling CqApi.post_cq_actions" if authorizable_id.nil?
92
+ if @api_client.config.client_side_validation && authorizable_id.nil?
93
+ fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling CqApi.post_cq_actions"
94
+ end
92
95
  # verify the required parameter 'changelog' is set
93
- fail ArgumentError, "Missing the required parameter 'changelog' when calling CqApi.post_cq_actions" if changelog.nil?
96
+ if @api_client.config.client_side_validation && changelog.nil?
97
+ fail ArgumentError, "Missing the required parameter 'changelog' when calling CqApi.post_cq_actions"
98
+ end
94
99
  # resource path
95
- local_var_path = "/.cqactions.html".sub('{format}','json')
100
+ local_var_path = "/.cqactions.html"
96
101
 
97
102
  # query parameters
98
103
  query_params = {}
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -39,9 +40,11 @@ module SwaggerAemClient
39
40
  @api_client.config.logger.debug "Calling API: CrxApi.post_package_service ..."
40
41
  end
41
42
  # verify the required parameter 'cmd' is set
42
- fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service" if cmd.nil?
43
+ if @api_client.config.client_side_validation && cmd.nil?
44
+ fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service"
45
+ end
43
46
  # resource path
44
- local_var_path = "/crx/packmgr/service.jsp".sub('{format}','json')
47
+ local_var_path = "/crx/packmgr/service.jsp"
45
48
 
46
49
  # query parameters
47
50
  query_params = {}
@@ -107,11 +110,15 @@ module SwaggerAemClient
107
110
  @api_client.config.logger.debug "Calling API: CrxApi.post_package_service_json ..."
108
111
  end
109
112
  # verify the required parameter 'path' is set
110
- fail ArgumentError, "Missing the required parameter 'path' when calling CrxApi.post_package_service_json" if path.nil?
113
+ if @api_client.config.client_side_validation && path.nil?
114
+ fail ArgumentError, "Missing the required parameter 'path' when calling CrxApi.post_package_service_json"
115
+ end
111
116
  # verify the required parameter 'cmd' is set
112
- fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service_json" if cmd.nil?
117
+ if @api_client.config.client_side_validation && cmd.nil?
118
+ fail ArgumentError, "Missing the required parameter 'cmd' when calling CrxApi.post_package_service_json"
119
+ end
113
120
  # resource path
114
- local_var_path = "/crx/packmgr/service/.json/{path}".sub('{format}','json').sub('{' + 'path' + '}', path.to_s)
121
+ local_var_path = "/crx/packmgr/service/.json/{path}".sub('{' + 'path' + '}', path.to_s)
115
122
 
116
123
  # query parameters
117
124
  query_params = {}
@@ -180,15 +187,23 @@ module SwaggerAemClient
180
187
  @api_client.config.logger.debug "Calling API: CrxApi.post_package_update ..."
181
188
  end
182
189
  # verify the required parameter 'group_name' is set
183
- fail ArgumentError, "Missing the required parameter 'group_name' when calling CrxApi.post_package_update" if group_name.nil?
190
+ if @api_client.config.client_side_validation && group_name.nil?
191
+ fail ArgumentError, "Missing the required parameter 'group_name' when calling CrxApi.post_package_update"
192
+ end
184
193
  # verify the required parameter 'package_name' is set
185
- fail ArgumentError, "Missing the required parameter 'package_name' when calling CrxApi.post_package_update" if package_name.nil?
194
+ if @api_client.config.client_side_validation && package_name.nil?
195
+ fail ArgumentError, "Missing the required parameter 'package_name' when calling CrxApi.post_package_update"
196
+ end
186
197
  # verify the required parameter 'version' is set
187
- fail ArgumentError, "Missing the required parameter 'version' when calling CrxApi.post_package_update" if version.nil?
198
+ if @api_client.config.client_side_validation && version.nil?
199
+ fail ArgumentError, "Missing the required parameter 'version' when calling CrxApi.post_package_update"
200
+ end
188
201
  # verify the required parameter 'path' is set
189
- fail ArgumentError, "Missing the required parameter 'path' when calling CrxApi.post_package_update" if path.nil?
202
+ if @api_client.config.client_side_validation && path.nil?
203
+ fail ArgumentError, "Missing the required parameter 'path' when calling CrxApi.post_package_update"
204
+ end
190
205
  # resource path
191
- local_var_path = "/crx/packmgr/update.jsp".sub('{format}','json')
206
+ local_var_path = "/crx/packmgr/update.jsp"
192
207
 
193
208
  # query parameters
194
209
  query_params = {}
@@ -247,13 +262,19 @@ module SwaggerAemClient
247
262
  @api_client.config.logger.debug "Calling API: CrxApi.post_set_password ..."
248
263
  end
249
264
  # verify the required parameter 'old' is set
250
- fail ArgumentError, "Missing the required parameter 'old' when calling CrxApi.post_set_password" if old.nil?
265
+ if @api_client.config.client_side_validation && old.nil?
266
+ fail ArgumentError, "Missing the required parameter 'old' when calling CrxApi.post_set_password"
267
+ end
251
268
  # verify the required parameter 'plain' is set
252
- fail ArgumentError, "Missing the required parameter 'plain' when calling CrxApi.post_set_password" if plain.nil?
269
+ if @api_client.config.client_side_validation && plain.nil?
270
+ fail ArgumentError, "Missing the required parameter 'plain' when calling CrxApi.post_set_password"
271
+ end
253
272
  # verify the required parameter 'verify' is set
254
- fail ArgumentError, "Missing the required parameter 'verify' when calling CrxApi.post_set_password" if verify.nil?
273
+ if @api_client.config.client_side_validation && verify.nil?
274
+ fail ArgumentError, "Missing the required parameter 'verify' when calling CrxApi.post_set_password"
275
+ end
255
276
  # resource path
256
- local_var_path = "/crx/explorer/ui/setpassword.jsp".sub('{format}','json')
277
+ local_var_path = "/crx/explorer/ui/setpassword.jsp"
257
278
 
258
279
  # query parameters
259
280
  query_params = {}
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -41,7 +42,7 @@ module SwaggerAemClient
41
42
  @api_client.config.logger.debug "Calling API: CustomApi.get_aem_health_check ..."
42
43
  end
43
44
  # resource path
44
- local_var_path = "/system/health".sub('{format}','json')
45
+ local_var_path = "/system/health"
45
46
 
46
47
  # query parameters
47
48
  query_params = {}
@@ -96,9 +97,11 @@ module SwaggerAemClient
96
97
  @api_client.config.logger.debug "Calling API: CustomApi.post_config_aem_health_check_servlet ..."
97
98
  end
98
99
  # verify the required parameter 'runmode' is set
99
- fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_health_check_servlet" if runmode.nil?
100
+ if @api_client.config.client_side_validation && runmode.nil?
101
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_health_check_servlet"
102
+ end
100
103
  # resource path
101
- local_var_path = "/apps/system/config.{runmode}/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
104
+ local_var_path = "/apps/system/config.{runmode}/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck".sub('{' + 'runmode' + '}', runmode.to_s)
102
105
 
103
106
  # query parameters
104
107
  query_params = {}
@@ -152,9 +155,11 @@ module SwaggerAemClient
152
155
  @api_client.config.logger.debug "Calling API: CustomApi.post_config_aem_password_reset ..."
153
156
  end
154
157
  # verify the required parameter 'runmode' is set
155
- fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_password_reset" if runmode.nil?
158
+ if @api_client.config.client_side_validation && runmode.nil?
159
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_password_reset"
160
+ end
156
161
  # resource path
157
- local_var_path = "/apps/system/config.{runmode}/com.shinesolutions.aem.passwordreset.Activator".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
162
+ local_var_path = "/apps/system/config.{runmode}/com.shinesolutions.aem.passwordreset.Activator".sub('{' + 'runmode' + '}', runmode.to_s)
158
163
 
159
164
  # query parameters
160
165
  query_params = {}
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -41,11 +42,15 @@ module SwaggerAemClient
41
42
  @api_client.config.logger.debug "Calling API: SlingApi.delete_agent ..."
42
43
  end
43
44
  # verify the required parameter 'runmode' is set
44
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.delete_agent" if runmode.nil?
45
+ if @api_client.config.client_side_validation && runmode.nil?
46
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.delete_agent"
47
+ end
45
48
  # verify the required parameter 'name' is set
46
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_agent" if name.nil?
49
+ if @api_client.config.client_side_validation && name.nil?
50
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_agent"
51
+ end
47
52
  # resource path
48
- local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
53
+ local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
49
54
 
50
55
  # query parameters
51
56
  query_params = {}
@@ -95,11 +100,15 @@ module SwaggerAemClient
95
100
  @api_client.config.logger.debug "Calling API: SlingApi.delete_node ..."
96
101
  end
97
102
  # verify the required parameter 'path' is set
98
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.delete_node" if path.nil?
103
+ if @api_client.config.client_side_validation && path.nil?
104
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.delete_node"
105
+ end
99
106
  # verify the required parameter 'name' is set
100
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_node" if name.nil?
107
+ if @api_client.config.client_side_validation && name.nil?
108
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_node"
109
+ end
101
110
  # resource path
102
- local_var_path = "/{path}/{name}".sub('{format}','json').sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
111
+ local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
103
112
 
104
113
  # query parameters
105
114
  query_params = {}
@@ -149,11 +158,15 @@ module SwaggerAemClient
149
158
  @api_client.config.logger.debug "Calling API: SlingApi.get_agent ..."
150
159
  end
151
160
  # verify the required parameter 'runmode' is set
152
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agent" if runmode.nil?
161
+ if @api_client.config.client_side_validation && runmode.nil?
162
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agent"
163
+ end
153
164
  # verify the required parameter 'name' is set
154
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_agent" if name.nil?
165
+ if @api_client.config.client_side_validation && name.nil?
166
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_agent"
167
+ end
155
168
  # resource path
156
- local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
169
+ local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
157
170
 
158
171
  # query parameters
159
172
  query_params = {}
@@ -201,9 +214,11 @@ module SwaggerAemClient
201
214
  @api_client.config.logger.debug "Calling API: SlingApi.get_agents ..."
202
215
  end
203
216
  # verify the required parameter 'runmode' is set
204
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agents" if runmode.nil?
217
+ if @api_client.config.client_side_validation && runmode.nil?
218
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agents"
219
+ end
205
220
  # resource path
206
- local_var_path = "/etc/replication/agents.{runmode}.-1.json".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
221
+ local_var_path = "/etc/replication/agents.{runmode}.-1.json".sub('{' + 'runmode' + '}', runmode.to_s)
207
222
 
208
223
  # query parameters
209
224
  query_params = {}
@@ -254,11 +269,15 @@ module SwaggerAemClient
254
269
  @api_client.config.logger.debug "Calling API: SlingApi.get_node ..."
255
270
  end
256
271
  # verify the required parameter 'path' is set
257
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_node" if path.nil?
272
+ if @api_client.config.client_side_validation && path.nil?
273
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_node"
274
+ end
258
275
  # verify the required parameter 'name' is set
259
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_node" if name.nil?
276
+ if @api_client.config.client_side_validation && name.nil?
277
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_node"
278
+ end
260
279
  # resource path
261
- local_var_path = "/{path}/{name}".sub('{format}','json').sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
280
+ local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
262
281
 
263
282
  # query parameters
264
283
  query_params = {}
@@ -310,13 +329,19 @@ module SwaggerAemClient
310
329
  @api_client.config.logger.debug "Calling API: SlingApi.get_package ..."
311
330
  end
312
331
  # verify the required parameter 'group' is set
313
- fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package" if group.nil?
332
+ if @api_client.config.client_side_validation && group.nil?
333
+ fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package"
334
+ end
314
335
  # verify the required parameter 'name' is set
315
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package" if name.nil?
336
+ if @api_client.config.client_side_validation && name.nil?
337
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package"
338
+ end
316
339
  # verify the required parameter 'version' is set
317
- fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package" if version.nil?
340
+ if @api_client.config.client_side_validation && version.nil?
341
+ fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package"
342
+ end
318
343
  # resource path
319
- local_var_path = "/etc/packages/{group}/{name}-{version}.zip".sub('{format}','json').sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
344
+ local_var_path = "/etc/packages/{group}/{name}-{version}.zip".sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
320
345
 
321
346
  # query parameters
322
347
  query_params = {}
@@ -369,13 +394,19 @@ module SwaggerAemClient
369
394
  @api_client.config.logger.debug "Calling API: SlingApi.get_package_filter ..."
370
395
  end
371
396
  # verify the required parameter 'group' is set
372
- fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package_filter" if group.nil?
397
+ if @api_client.config.client_side_validation && group.nil?
398
+ fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package_filter"
399
+ end
373
400
  # verify the required parameter 'name' is set
374
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package_filter" if name.nil?
401
+ if @api_client.config.client_side_validation && name.nil?
402
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package_filter"
403
+ end
375
404
  # verify the required parameter 'version' is set
376
- fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package_filter" if version.nil?
405
+ if @api_client.config.client_side_validation && version.nil?
406
+ fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package_filter"
407
+ end
377
408
  # resource path
378
- local_var_path = "/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json".sub('{format}','json').sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
409
+ local_var_path = "/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json".sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
379
410
 
380
411
  # query parameters
381
412
  query_params = {}
@@ -430,15 +461,23 @@ module SwaggerAemClient
430
461
  @api_client.config.logger.debug "Calling API: SlingApi.get_query ..."
431
462
  end
432
463
  # verify the required parameter 'path' is set
433
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_query" if path.nil?
464
+ if @api_client.config.client_side_validation && path.nil?
465
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_query"
466
+ end
434
467
  # verify the required parameter 'p_limit' is set
435
- fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.get_query" if p_limit.nil?
468
+ if @api_client.config.client_side_validation && p_limit.nil?
469
+ fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.get_query"
470
+ end
436
471
  # verify the required parameter '_1_property' is set
437
- fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.get_query" if _1_property.nil?
472
+ if @api_client.config.client_side_validation && _1_property.nil?
473
+ fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.get_query"
474
+ end
438
475
  # verify the required parameter '_1_property_value' is set
439
- fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.get_query" if _1_property_value.nil?
476
+ if @api_client.config.client_side_validation && _1_property_value.nil?
477
+ fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.get_query"
478
+ end
440
479
  # resource path
441
- local_var_path = "/bin/querybuilder.json".sub('{format}','json')
480
+ local_var_path = "/bin/querybuilder.json"
442
481
 
443
482
  # query parameters
444
483
  query_params = {}
@@ -593,11 +632,15 @@ module SwaggerAemClient
593
632
  @api_client.config.logger.debug "Calling API: SlingApi.post_agent ..."
594
633
  end
595
634
  # verify the required parameter 'runmode' is set
596
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_agent" if runmode.nil?
635
+ if @api_client.config.client_side_validation && runmode.nil?
636
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_agent"
637
+ end
597
638
  # verify the required parameter 'name' is set
598
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_agent" if name.nil?
639
+ if @api_client.config.client_side_validation && name.nil?
640
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_agent"
641
+ end
599
642
  # resource path
600
- local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
643
+ local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
601
644
 
602
645
  # query parameters
603
646
  query_params = {}
@@ -705,11 +748,15 @@ module SwaggerAemClient
705
748
  @api_client.config.logger.debug "Calling API: SlingApi.post_authorizables ..."
706
749
  end
707
750
  # verify the required parameter 'authorizable_id' is set
708
- fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizables" if authorizable_id.nil?
751
+ if @api_client.config.client_side_validation && authorizable_id.nil?
752
+ fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizables"
753
+ end
709
754
  # verify the required parameter 'intermediate_path' is set
710
- fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.post_authorizables" if intermediate_path.nil?
755
+ if @api_client.config.client_side_validation && intermediate_path.nil?
756
+ fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.post_authorizables"
757
+ end
711
758
  # resource path
712
- local_var_path = "/libs/granite/security/post/authorizables".sub('{format}','json')
759
+ local_var_path = "/libs/granite/security/post/authorizables"
713
760
 
714
761
  # query parameters
715
762
  query_params = {}
@@ -804,9 +851,11 @@ module SwaggerAemClient
804
851
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_felix_jetty_based_http_service ..."
805
852
  end
806
853
  # verify the required parameter 'runmode' is set
807
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_felix_jetty_based_http_service" if runmode.nil?
854
+ if @api_client.config.client_side_validation && runmode.nil?
855
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_felix_jetty_based_http_service"
856
+ end
808
857
  # resource path
809
- local_var_path = "/apps/system/config.{runmode}/org.apache.felix.http".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
858
+ local_var_path = "/apps/system/config.{runmode}/org.apache.felix.http".sub('{' + 'runmode' + '}', runmode.to_s)
810
859
 
811
860
  # query parameters
812
861
  query_params = {}
@@ -882,9 +931,11 @@ module SwaggerAemClient
882
931
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_dav_ex_servlet ..."
883
932
  end
884
933
  # verify the required parameter 'runmode' is set
885
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_dav_ex_servlet" if runmode.nil?
934
+ if @api_client.config.client_side_validation && runmode.nil?
935
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_dav_ex_servlet"
936
+ end
886
937
  # resource path
887
- local_var_path = "/apps/system/config.{runmode}/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
938
+ local_var_path = "/apps/system/config.{runmode}/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet".sub('{' + 'runmode' + '}', runmode.to_s)
888
939
 
889
940
  # query parameters
890
941
  query_params = {}
@@ -952,9 +1003,11 @@ module SwaggerAemClient
952
1003
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_get_servlet ..."
953
1004
  end
954
1005
  # verify the required parameter 'runmode' is set
955
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_get_servlet" if runmode.nil?
1006
+ if @api_client.config.client_side_validation && runmode.nil?
1007
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_get_servlet"
1008
+ end
956
1009
  # resource path
957
- local_var_path = "/apps/system/config.{runmode}/org.apache.sling.servlets.get.DefaultGetServlet".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
1010
+ local_var_path = "/apps/system/config.{runmode}/org.apache.sling.servlets.get.DefaultGetServlet".sub('{' + 'runmode' + '}', runmode.to_s)
958
1011
 
959
1012
  # query parameters
960
1013
  query_params = {}
@@ -1022,9 +1075,11 @@ module SwaggerAemClient
1022
1075
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_referrer_filter ..."
1023
1076
  end
1024
1077
  # verify the required parameter 'runmode' is set
1025
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_referrer_filter" if runmode.nil?
1078
+ if @api_client.config.client_side_validation && runmode.nil?
1079
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_referrer_filter"
1080
+ end
1026
1081
  # resource path
1027
- local_var_path = "/apps/system/config.{runmode}/org.apache.sling.security.impl.ReferrerFilter".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s)
1082
+ local_var_path = "/apps/system/config.{runmode}/org.apache.sling.security.impl.ReferrerFilter".sub('{' + 'runmode' + '}', runmode.to_s)
1028
1083
 
1029
1084
  # query parameters
1030
1085
  query_params = {}
@@ -1082,11 +1137,15 @@ module SwaggerAemClient
1082
1137
  @api_client.config.logger.debug "Calling API: SlingApi.post_node_rw ..."
1083
1138
  end
1084
1139
  # verify the required parameter 'path' is set
1085
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_node_rw" if path.nil?
1140
+ if @api_client.config.client_side_validation && path.nil?
1141
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_node_rw"
1142
+ end
1086
1143
  # verify the required parameter 'name' is set
1087
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node_rw" if name.nil?
1144
+ if @api_client.config.client_side_validation && name.nil?
1145
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node_rw"
1146
+ end
1088
1147
  # resource path
1089
- local_var_path = "/{path}/{name}.rw.html".sub('{format}','json').sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
1148
+ local_var_path = "/{path}/{name}.rw.html".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
1090
1149
 
1091
1150
  # query parameters
1092
1151
  query_params = {}
@@ -1139,13 +1198,19 @@ module SwaggerAemClient
1139
1198
  @api_client.config.logger.debug "Calling API: SlingApi.post_path ..."
1140
1199
  end
1141
1200
  # verify the required parameter 'path' is set
1142
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_path" if path.nil?
1201
+ if @api_client.config.client_side_validation && path.nil?
1202
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_path"
1203
+ end
1143
1204
  # verify the required parameter 'jcrprimary_type' is set
1144
- fail ArgumentError, "Missing the required parameter 'jcrprimary_type' when calling SlingApi.post_path" if jcrprimary_type.nil?
1205
+ if @api_client.config.client_side_validation && jcrprimary_type.nil?
1206
+ fail ArgumentError, "Missing the required parameter 'jcrprimary_type' when calling SlingApi.post_path"
1207
+ end
1145
1208
  # verify the required parameter 'name' is set
1146
- fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_path" if name.nil?
1209
+ if @api_client.config.client_side_validation && name.nil?
1210
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_path"
1211
+ end
1147
1212
  # resource path
1148
- local_var_path = "/{path}/".sub('{format}','json').sub('{' + 'path' + '}', path.to_s)
1213
+ local_var_path = "/{path}/".sub('{' + 'path' + '}', path.to_s)
1149
1214
 
1150
1215
  # query parameters
1151
1216
  query_params = {}
@@ -1201,15 +1266,23 @@ module SwaggerAemClient
1201
1266
  @api_client.config.logger.debug "Calling API: SlingApi.post_query ..."
1202
1267
  end
1203
1268
  # verify the required parameter 'path' is set
1204
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_query" if path.nil?
1269
+ if @api_client.config.client_side_validation && path.nil?
1270
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_query"
1271
+ end
1205
1272
  # verify the required parameter 'p_limit' is set
1206
- fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.post_query" if p_limit.nil?
1273
+ if @api_client.config.client_side_validation && p_limit.nil?
1274
+ fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.post_query"
1275
+ end
1207
1276
  # verify the required parameter '_1_property' is set
1208
- fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.post_query" if _1_property.nil?
1277
+ if @api_client.config.client_side_validation && _1_property.nil?
1278
+ fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.post_query"
1279
+ end
1209
1280
  # verify the required parameter '_1_property_value' is set
1210
- fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.post_query" if _1_property_value.nil?
1281
+ if @api_client.config.client_side_validation && _1_property_value.nil?
1282
+ fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.post_query"
1283
+ end
1211
1284
  # resource path
1212
- local_var_path = "/bin/querybuilder.json".sub('{format}','json')
1285
+ local_var_path = "/bin/querybuilder.json"
1213
1286
 
1214
1287
  # query parameters
1215
1288
  query_params = {}
@@ -1266,13 +1339,19 @@ module SwaggerAemClient
1266
1339
  @api_client.config.logger.debug "Calling API: SlingApi.post_tree_activation ..."
1267
1340
  end
1268
1341
  # verify the required parameter 'ignoredeactivated' is set
1269
- fail ArgumentError, "Missing the required parameter 'ignoredeactivated' when calling SlingApi.post_tree_activation" if ignoredeactivated.nil?
1342
+ if @api_client.config.client_side_validation && ignoredeactivated.nil?
1343
+ fail ArgumentError, "Missing the required parameter 'ignoredeactivated' when calling SlingApi.post_tree_activation"
1344
+ end
1270
1345
  # verify the required parameter 'onlymodified' is set
1271
- fail ArgumentError, "Missing the required parameter 'onlymodified' when calling SlingApi.post_tree_activation" if onlymodified.nil?
1346
+ if @api_client.config.client_side_validation && onlymodified.nil?
1347
+ fail ArgumentError, "Missing the required parameter 'onlymodified' when calling SlingApi.post_tree_activation"
1348
+ end
1272
1349
  # verify the required parameter 'path' is set
1273
- fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_tree_activation" if path.nil?
1350
+ if @api_client.config.client_side_validation && path.nil?
1351
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_tree_activation"
1352
+ end
1274
1353
  # resource path
1275
- local_var_path = "/etc/replication/treeactivation.html".sub('{format}','json')
1354
+ local_var_path = "/etc/replication/treeactivation.html"
1276
1355
 
1277
1356
  # query parameters
1278
1357
  query_params = {}
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -123,7 +124,7 @@ module SwaggerAemClient
123
124
  end
124
125
 
125
126
  request = Typhoeus::Request.new(url, req_opts)
126
- download_file_chunked(request) if opts[:return_type] == 'File'
127
+ download_file(request) if opts[:return_type] == 'File'
127
128
  request
128
129
  end
129
130
 
@@ -136,7 +137,7 @@ module SwaggerAemClient
136
137
  # @param [String] mime MIME
137
138
  # @return [Boolean] True if the MIME is application/json
138
139
  def json_mime?(mime)
139
- (mime == "*/*") || !(mime =~ /\Aapplication\/json(;.*)?\z/i).nil?
140
+ (mime == "*/*") || !(mime =~ /Application\/.*json(?!p)(;.*)?/i).nil?
140
141
  end
141
142
 
142
143
  # Deserialize the response to the given return type.
@@ -146,8 +147,8 @@ module SwaggerAemClient
146
147
  def deserialize(response, return_type)
147
148
  body = response.body
148
149
 
149
- # return temp file for File return type
150
- # the response body itself would be an empty String
150
+ # handle file downloading - return the File instance processed in request callbacks
151
+ # note that response body is empty when the file is written in chunks in request on_body callback
151
152
  return @tempfile if return_type == 'File'
152
153
 
153
154
  return nil if body.nil? || body.empty?
@@ -217,13 +218,14 @@ module SwaggerAemClient
217
218
 
218
219
  # Save response body into a file in (the defined) temporary folder, using the filename
219
220
  # from the "Content-Disposition" header if provided, otherwise a random filename.
220
- # In order to handle a large response body, the body is written to the file in chunks.
221
+ # The response body is written to the file in chunks in order to handle files which
222
+ # size is larger than maximum Ruby String or even larger than the maximum memory a Ruby
223
+ # process can use.
221
224
  #
222
225
  # @see Configuration#temp_folder_path
223
- def download_file_chunked(request)
226
+ def download_file(request)
224
227
  tempfile = nil
225
228
  encoding = nil
226
- prefix = nil
227
229
  request.on_headers do |response|
228
230
  content_disposition = response.headers['Content-Disposition']
229
231
  if content_disposition and content_disposition =~ /filename=/i
@@ -250,34 +252,6 @@ module SwaggerAemClient
250
252
  end
251
253
  end
252
254
 
253
- # Save response body into a file in (the defined) temporary folder, using the filename
254
- # from the "Content-Disposition" header if provided, otherwise a random filename.
255
- #
256
- # @see Configuration#temp_folder_path
257
- # @return [Tempfile] the file downloaded
258
- def download_file(response)
259
- content_disposition = response.headers['Content-Disposition']
260
- if content_disposition and content_disposition =~ /filename=/i
261
- filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
262
- prefix = sanitize_filename(filename)
263
- else
264
- prefix = 'download-'
265
- end
266
- prefix = prefix + '-' unless prefix.end_with?('-')
267
-
268
- tempfile = nil
269
- encoding = response.body.encoding
270
- Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding) do |file|
271
- file.write(response.body)
272
- tempfile = file
273
- end
274
- @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
275
- "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
276
- "will be deleted automatically with GC. It's also recommended to delete the temp file "\
277
- "explicitly with `tempfile.delete`"
278
- tempfile
279
- end
280
-
281
255
  # Sanitize filename by removing path.
282
256
  # e.g. ../../sun.gif becomes sun.gif
283
257
  #
@@ -340,7 +314,7 @@ module SwaggerAemClient
340
314
 
341
315
  # Sets user agent in HTTP header
342
316
  #
343
- # @param [String] user_agent User agent (e.g. swagger-codegen/ruby/1.1.0)
317
+ # @param [String] user_agent User agent (e.g. swagger-codegen/ruby/1.0.0)
344
318
  def user_agent=(user_agent)
345
319
  @user_agent = user_agent
346
320
  @default_headers['User-Agent'] = @user_agent
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -75,6 +76,11 @@ module SwaggerAemClient
75
76
  # Default to 0 (never times out).
76
77
  attr_accessor :timeout
77
78
 
79
+ # Set this to false to skip client side validation in the operation.
80
+ # Default to true.
81
+ # @return [true, false]
82
+ attr_accessor :client_side_validation
83
+
78
84
  ### TLS/SSL setting
79
85
  # Set this to false to skip verifying SSL certificate when calling API from https server.
80
86
  # Default to true.
@@ -128,6 +134,7 @@ module SwaggerAemClient
128
134
  @api_key = {}
129
135
  @api_key_prefix = {}
130
136
  @timeout = 0
137
+ @client_side_validation = true
131
138
  @verify_ssl = true
132
139
  @verify_ssl_host = true
133
140
  @params_encoding = nil
@@ -6,9 +6,10 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
12
13
  module SwaggerAemClient
13
- VERSION = "1.1.0"
14
+ VERSION = "1.1.1"
14
15
  end
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -17,7 +18,7 @@ describe SwaggerAemClient::Configuration do
17
18
  before(:each) do
18
19
  # uncomment below to setup host and base_path
19
20
  #require 'URI'
20
- #uri = URI.parse("http://localhost/")
21
+ #uri = URI.parse("http://localhost")
21
22
  #SwaggerAemClient.configure do |c|
22
23
  # c.host = uri.host
23
24
  # c.base_path = uri.path
@@ -27,14 +28,14 @@ describe SwaggerAemClient::Configuration do
27
28
  describe '#base_url' do
28
29
  it 'should have the default value' do
29
30
  # uncomment below to test default value of the base path
30
- #expect(config.base_url).to eq("http://localhost/")
31
+ #expect(config.base_url).to eq("http://localhost")
31
32
  end
32
33
 
33
34
  it 'should remove trailing slashes' do
34
35
  [nil, '', '/', '//'].each do |base_path|
35
36
  config.base_path = base_path
36
37
  # uncomment below to test trailing slashes
37
- #expect(config.base_url).to eq("http://localhost/")
38
+ #expect(config.base_url).to eq("http://localhost")
38
39
  end
39
40
  end
40
41
  end
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 1.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -8,6 +8,7 @@
8
8
  OpenAPI spec version: 1.2.0
9
9
  Contact: opensource@shinesolutions.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ Swagger Codegen version: 2.2.3-SNAPSHOT
11
12
 
12
13
  =end
13
14
 
@@ -24,7 +25,7 @@ Gem::Specification.new do |s|
24
25
  s.summary = "Adobe Experience Manager (AEM) API Ruby Gem"
25
26
  s.description = "Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API"
26
27
  s.license = "Apache 2.0"
27
- s.required_ruby_version = ">= 1.9"
28
+ s.required_ruby_version = ">= 2.0"
28
29
 
29
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
30
31
  s.add_runtime_dependency 'json', '~> 1.8', '>= 1.8.3'
@@ -35,7 +36,7 @@ Gem::Specification.new do |s|
35
36
  s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
36
37
  s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
37
38
  s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
38
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
39
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
39
40
 
40
41
  s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
41
42
  s.test_files = `find spec/*`.split("\n")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger_aem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shine Solutions
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-26 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -179,7 +179,7 @@ dependencies:
179
179
  version: '0.2'
180
180
  - - '>='
181
181
  - !ruby/object:Gem::Version
182
- version: 0.2.11
182
+ version: 0.2.12
183
183
  type: :development
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
@@ -189,7 +189,7 @@ dependencies:
189
189
  version: '0.2'
190
190
  - - '>='
191
191
  - !ruby/object:Gem::Version
192
- version: 0.2.11
192
+ version: 0.2.12
193
193
  description: Swagger AEM is an OpenAPI specification for Adobe Experience Manager
194
194
  (AEM) API
195
195
  email:
@@ -199,7 +199,6 @@ extensions: []
199
199
  extra_rdoc_files: []
200
200
  files:
201
201
  - Gemfile
202
- - Gemfile.lock
203
202
  - README.md
204
203
  - Rakefile
205
204
  - docs/ConsoleApi.md
@@ -239,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
239
238
  requirements:
240
239
  - - '>='
241
240
  - !ruby/object:Gem::Version
242
- version: '1.9'
241
+ version: '2.0'
243
242
  required_rubygems_version: !ruby/object:Gem::Requirement
244
243
  requirements:
245
244
  - - '>='
@@ -1,67 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- swagger_aem (1.1.0)
5
- json (~> 1.8, >= 1.8.3)
6
- typhoeus (~> 1.0, >= 1.0.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- ZenTest (4.11.0)
12
- addressable (2.4.0)
13
- autotest (4.4.6)
14
- ZenTest (>= 4.4.1)
15
- autotest-fsevent (0.2.11)
16
- sys-uname
17
- autotest-growl (0.2.16)
18
- autotest-rails-pure (4.1.2)
19
- crack (0.4.2)
20
- safe_yaml (~> 1.0.0)
21
- diff-lcs (1.2.5)
22
- ethon (0.10.1)
23
- ffi (>= 1.3.0)
24
- ffi (1.9.18)
25
- hashdiff (0.3.0)
26
- json (1.8.6)
27
- rake (12.0.0)
28
- rspec (3.5.0)
29
- rspec-core (~> 3.5.0)
30
- rspec-expectations (~> 3.5.0)
31
- rspec-mocks (~> 3.5.0)
32
- rspec-core (3.5.4)
33
- rspec-support (~> 3.5.0)
34
- rspec-expectations (3.5.0)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.5.0)
37
- rspec-mocks (3.5.0)
38
- diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.5.0)
40
- rspec-support (3.5.0)
41
- safe_yaml (1.0.4)
42
- sys-uname (0.9.2)
43
- ffi (>= 1.0.0)
44
- typhoeus (1.1.2)
45
- ethon (>= 0.9.0)
46
- vcr (3.0.1)
47
- webmock (1.24.5)
48
- addressable (>= 2.3.6)
49
- crack (>= 0.3.2)
50
- hashdiff
51
-
52
- PLATFORMS
53
- ruby
54
-
55
- DEPENDENCIES
56
- autotest (~> 4.4, >= 4.4.6)
57
- autotest-fsevent (~> 0.2, >= 0.2.11)
58
- autotest-growl (~> 0.2, >= 0.2.16)
59
- autotest-rails-pure (~> 4.1, >= 4.1.2)
60
- rake (~> 12.0.0)
61
- rspec (~> 3.4, >= 3.4.0)
62
- swagger_aem!
63
- vcr (~> 3.0, >= 3.0.1)
64
- webmock (~> 1.24, >= 1.24.3)
65
-
66
- BUNDLED WITH
67
- 1.15.0