cloudmersive-validate-api-client 2.1.7 → 2.2.4

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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -4
  3. data/docs/DomainApi.md +110 -0
  4. data/docs/HtmlSsrfDetectionResult.md +9 -0
  5. data/docs/IsAdminPathResponse.md +9 -0
  6. data/docs/SqlInjectionCheckBatchRequest.md +9 -0
  7. data/docs/SqlInjectionCheckBatchResponse.md +8 -0
  8. data/docs/SqlInjectionCheckRequestItem.md +8 -0
  9. data/docs/SqlInjectionDetectionResult.md +10 -0
  10. data/docs/TextInputApi.md +288 -1
  11. data/docs/UrlHtmlSsrfRequestFull.md +8 -0
  12. data/docs/UrlHtmlSsrfResponseFull.md +9 -0
  13. data/docs/XxeDetectionBatchRequest.md +8 -0
  14. data/docs/XxeDetectionBatchResponse.md +8 -0
  15. data/docs/XxeDetectionRequestItem.md +11 -0
  16. data/docs/XxeDetectionResult.md +9 -0
  17. data/lib/cloudmersive-validate-api-client.rb +12 -0
  18. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +108 -0
  19. data/lib/cloudmersive-validate-api-client/api/text_input_api.rb +284 -2
  20. data/lib/cloudmersive-validate-api-client/models/html_ssrf_detection_result.rb +196 -0
  21. data/lib/cloudmersive-validate-api-client/models/is_admin_path_response.rb +196 -0
  22. data/lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_request.rb +198 -0
  23. data/lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_response.rb +188 -0
  24. data/lib/cloudmersive-validate-api-client/models/sql_injection_check_request_item.rb +186 -0
  25. data/lib/cloudmersive-validate-api-client/models/sql_injection_detection_result.rb +206 -0
  26. data/lib/cloudmersive-validate-api-client/models/url_html_ssrf_request_full.rb +186 -0
  27. data/lib/cloudmersive-validate-api-client/models/url_html_ssrf_response_full.rb +196 -0
  28. data/lib/cloudmersive-validate-api-client/models/xxe_detection_batch_request.rb +188 -0
  29. data/lib/cloudmersive-validate-api-client/models/xxe_detection_batch_response.rb +188 -0
  30. data/lib/cloudmersive-validate-api-client/models/xxe_detection_request_item.rb +220 -0
  31. data/lib/cloudmersive-validate-api-client/models/xxe_detection_result.rb +196 -0
  32. data/lib/cloudmersive-validate-api-client/version.rb +1 -1
  33. data/spec/api/domain_api_spec.rb +24 -0
  34. data/spec/api/text_input_api_spec.rb +65 -1
  35. data/spec/models/html_ssrf_detection_result_spec.rb +47 -0
  36. data/spec/models/is_admin_path_response_spec.rb +47 -0
  37. data/spec/models/sql_injection_check_batch_request_spec.rb +47 -0
  38. data/spec/models/sql_injection_check_batch_response_spec.rb +41 -0
  39. data/spec/models/sql_injection_check_request_item_spec.rb +41 -0
  40. data/spec/models/sql_injection_detection_result_spec.rb +53 -0
  41. data/spec/models/url_html_ssrf_request_full_spec.rb +41 -0
  42. data/spec/models/url_html_ssrf_response_full_spec.rb +47 -0
  43. data/spec/models/xxe_detection_batch_request_spec.rb +41 -0
  44. data/spec/models/xxe_detection_batch_response_spec.rb +41 -0
  45. data/spec/models/xxe_detection_request_item_spec.rb +59 -0
  46. data/spec/models/xxe_detection_result_spec.rb +47 -0
  47. metadata +38 -2
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::UrlHtmlSsrfResponseFull
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'UrlHtmlSsrfResponseFull' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::UrlHtmlSsrfResponseFull.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UrlHtmlSsrfResponseFull' do
31
+ it 'should create an instance of UrlHtmlSsrfResponseFull' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::UrlHtmlSsrfResponseFull)
33
+ end
34
+ end
35
+ describe 'test attribute "clean_url"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "http_response_code"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::XxeDetectionBatchRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'XxeDetectionBatchRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::XxeDetectionBatchRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of XxeDetectionBatchRequest' do
31
+ it 'should create an instance of XxeDetectionBatchRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::XxeDetectionBatchRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "request_items"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::XxeDetectionBatchResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'XxeDetectionBatchResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::XxeDetectionBatchResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of XxeDetectionBatchResponse' do
31
+ it 'should create an instance of XxeDetectionBatchResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::XxeDetectionBatchResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "result_items"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::XxeDetectionRequestItem
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'XxeDetectionRequestItem' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::XxeDetectionRequestItem.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of XxeDetectionRequestItem' do
31
+ it 'should create an instance of XxeDetectionRequestItem' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::XxeDetectionRequestItem)
33
+ end
34
+ end
35
+ describe 'test attribute "input_text"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "allow_internet_urls"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "known_safe_urls"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "known_unsafe_urls"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::XxeDetectionResult
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'XxeDetectionResult' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::XxeDetectionResult.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of XxeDetectionResult' do
31
+ it 'should create an instance of XxeDetectionResult' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::XxeDetectionResult)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "contained_xxe"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-validate-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.7
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-22 00:00:00.000000000 Z
11
+ date: 2021-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -230,10 +230,12 @@ files:
230
230
  - "./docs/GetPublicHolidaysRequest.md"
231
231
  - "./docs/GetTimezonesRequest.md"
232
232
  - "./docs/GetTimezonesResponse.md"
233
+ - "./docs/HtmlSsrfDetectionResult.md"
233
234
  - "./docs/IPAddressApi.md"
234
235
  - "./docs/IPIntelligenceResponse.md"
235
236
  - "./docs/IPReverseDNSLookupResponse.md"
236
237
  - "./docs/IPThreatResponse.md"
238
+ - "./docs/IsAdminPathResponse.md"
237
239
  - "./docs/LastNameValidationRequest.md"
238
240
  - "./docs/LastNameValidationResponse.md"
239
241
  - "./docs/LeadEnrichmentApi.md"
@@ -252,9 +254,15 @@ files:
252
254
  - "./docs/PublicHolidaysResponse.md"
253
255
  - "./docs/ReverseGeocodeAddressRequest.md"
254
256
  - "./docs/ReverseGeocodeAddressResponse.md"
257
+ - "./docs/SqlInjectionCheckBatchRequest.md"
258
+ - "./docs/SqlInjectionCheckBatchResponse.md"
259
+ - "./docs/SqlInjectionCheckRequestItem.md"
260
+ - "./docs/SqlInjectionDetectionResult.md"
255
261
  - "./docs/TextInputApi.md"
256
262
  - "./docs/Timezone.md"
257
263
  - "./docs/TorNodeResponse.md"
264
+ - "./docs/UrlHtmlSsrfRequestFull.md"
265
+ - "./docs/UrlHtmlSsrfResponseFull.md"
258
266
  - "./docs/UrlSafetyCheckRequestFull.md"
259
267
  - "./docs/UrlSafetyCheckResponseFull.md"
260
268
  - "./docs/UrlSsrfRequestBatch.md"
@@ -288,6 +296,10 @@ files:
288
296
  - "./docs/XssProtectionBatchResponse.md"
289
297
  - "./docs/XssProtectionRequestItem.md"
290
298
  - "./docs/XssProtectionResult.md"
299
+ - "./docs/XxeDetectionBatchRequest.md"
300
+ - "./docs/XxeDetectionBatchResponse.md"
301
+ - "./docs/XxeDetectionRequestItem.md"
302
+ - "./docs/XxeDetectionResult.md"
291
303
  - "./git_push.sh"
292
304
  - "./lib/cloudmersive-validate-api-client.rb"
293
305
  - "./lib/cloudmersive-validate-api-client/api/address_api.rb"
@@ -327,9 +339,11 @@ files:
327
339
  - "./lib/cloudmersive-validate-api-client/models/get_public_holidays_request.rb"
328
340
  - "./lib/cloudmersive-validate-api-client/models/get_timezones_request.rb"
329
341
  - "./lib/cloudmersive-validate-api-client/models/get_timezones_response.rb"
342
+ - "./lib/cloudmersive-validate-api-client/models/html_ssrf_detection_result.rb"
330
343
  - "./lib/cloudmersive-validate-api-client/models/ip_intelligence_response.rb"
331
344
  - "./lib/cloudmersive-validate-api-client/models/ip_reverse_dns_lookup_response.rb"
332
345
  - "./lib/cloudmersive-validate-api-client/models/ip_threat_response.rb"
346
+ - "./lib/cloudmersive-validate-api-client/models/is_admin_path_response.rb"
333
347
  - "./lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb"
334
348
  - "./lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb"
335
349
  - "./lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb"
@@ -345,8 +359,14 @@ files:
345
359
  - "./lib/cloudmersive-validate-api-client/models/public_holidays_response.rb"
346
360
  - "./lib/cloudmersive-validate-api-client/models/reverse_geocode_address_request.rb"
347
361
  - "./lib/cloudmersive-validate-api-client/models/reverse_geocode_address_response.rb"
362
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_request.rb"
363
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_response.rb"
364
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_request_item.rb"
365
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_detection_result.rb"
348
366
  - "./lib/cloudmersive-validate-api-client/models/timezone.rb"
349
367
  - "./lib/cloudmersive-validate-api-client/models/tor_node_response.rb"
368
+ - "./lib/cloudmersive-validate-api-client/models/url_html_ssrf_request_full.rb"
369
+ - "./lib/cloudmersive-validate-api-client/models/url_html_ssrf_response_full.rb"
350
370
  - "./lib/cloudmersive-validate-api-client/models/url_safety_check_request_full.rb"
351
371
  - "./lib/cloudmersive-validate-api-client/models/url_safety_check_response_full.rb"
352
372
  - "./lib/cloudmersive-validate-api-client/models/url_ssrf_request_batch.rb"
@@ -378,6 +398,10 @@ files:
378
398
  - "./lib/cloudmersive-validate-api-client/models/xss_protection_batch_response.rb"
379
399
  - "./lib/cloudmersive-validate-api-client/models/xss_protection_request_item.rb"
380
400
  - "./lib/cloudmersive-validate-api-client/models/xss_protection_result.rb"
401
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_batch_request.rb"
402
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_batch_response.rb"
403
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_request_item.rb"
404
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_result.rb"
381
405
  - "./lib/cloudmersive-validate-api-client/version.rb"
382
406
  - "./spec/api/address_api_spec.rb"
383
407
  - "./spec/api/date_time_api_spec.rb"
@@ -415,9 +439,11 @@ files:
415
439
  - "./spec/models/get_public_holidays_request_spec.rb"
416
440
  - "./spec/models/get_timezones_request_spec.rb"
417
441
  - "./spec/models/get_timezones_response_spec.rb"
442
+ - "./spec/models/html_ssrf_detection_result_spec.rb"
418
443
  - "./spec/models/ip_intelligence_response_spec.rb"
419
444
  - "./spec/models/ip_reverse_dns_lookup_response_spec.rb"
420
445
  - "./spec/models/ip_threat_response_spec.rb"
446
+ - "./spec/models/is_admin_path_response_spec.rb"
421
447
  - "./spec/models/last_name_validation_request_spec.rb"
422
448
  - "./spec/models/last_name_validation_response_spec.rb"
423
449
  - "./spec/models/lead_enrichment_request_spec.rb"
@@ -433,8 +459,14 @@ files:
433
459
  - "./spec/models/public_holidays_response_spec.rb"
434
460
  - "./spec/models/reverse_geocode_address_request_spec.rb"
435
461
  - "./spec/models/reverse_geocode_address_response_spec.rb"
462
+ - "./spec/models/sql_injection_check_batch_request_spec.rb"
463
+ - "./spec/models/sql_injection_check_batch_response_spec.rb"
464
+ - "./spec/models/sql_injection_check_request_item_spec.rb"
465
+ - "./spec/models/sql_injection_detection_result_spec.rb"
436
466
  - "./spec/models/timezone_spec.rb"
437
467
  - "./spec/models/tor_node_response_spec.rb"
468
+ - "./spec/models/url_html_ssrf_request_full_spec.rb"
469
+ - "./spec/models/url_html_ssrf_response_full_spec.rb"
438
470
  - "./spec/models/url_safety_check_request_full_spec.rb"
439
471
  - "./spec/models/url_safety_check_response_full_spec.rb"
440
472
  - "./spec/models/url_ssrf_request_batch_spec.rb"
@@ -466,6 +498,10 @@ files:
466
498
  - "./spec/models/xss_protection_batch_response_spec.rb"
467
499
  - "./spec/models/xss_protection_request_item_spec.rb"
468
500
  - "./spec/models/xss_protection_result_spec.rb"
501
+ - "./spec/models/xxe_detection_batch_request_spec.rb"
502
+ - "./spec/models/xxe_detection_batch_response_spec.rb"
503
+ - "./spec/models/xxe_detection_request_item_spec.rb"
504
+ - "./spec/models/xxe_detection_result_spec.rb"
469
505
  - "./spec/spec_helper.rb"
470
506
  homepage: https://www.cloudmersive.com/validate-api
471
507
  licenses: