cloudmersive-validate-api-client 2.1.7 → 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.14
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = '2.1.7'
14
+ VERSION = '2.1.9'
15
15
  end
@@ -32,6 +32,31 @@ describe 'TextInputApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for text_input_check_sql_injection
36
+ # Check text input for SQL Injection (SQLI) attacks
37
+ # Detects SQL Injection (SQLI) attacks from text input.
38
+ # @param value User-facing text input.
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :detection_level Set to Normal to target a high-security SQL Injection detection level with a very low false positive rate; select High to target a very-high security SQL Injection detection level with higher false positives. Default is Normal (recommended).
41
+ # @return [SqlInjectionDetectionResult]
42
+ describe 'text_input_check_sql_injection test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for text_input_check_sql_injection_batch
49
+ # Check and protect multiple text inputs for SQL Injection (SQLI) attacks in batch
50
+ # Detects SQL Injection (SQLI) attacks from multiple text inputs. Output preverses order of input items.
51
+ # @param value User-facing text input.
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [SqlInjectionCheckBatchResponse]
54
+ describe 'text_input_check_sql_injection_batch test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
35
60
  # unit tests for text_input_check_xss
36
61
  # Check text input for Cross-Site-Scripting (XSS) attacks
37
62
  # Detects XSS (Cross-Site-Scripting) attacks from text input.
@@ -46,7 +71,7 @@ describe 'TextInputApi' do
46
71
 
47
72
  # unit tests for text_input_check_xss_batch
48
73
  # Check and protect multiple text inputs for Cross-Site-Scripting (XSS) attacks in batch
49
- # Detects XSS (Cross-Site-Scripting) attacks from multiple text input. Output preverses order of input items.
74
+ # Detects XSS (Cross-Site-Scripting) attacks from multiple text inputs. Output preverses order of input items.
50
75
  # @param value User-facing text input.
51
76
  # @param [Hash] opts the optional parameters
52
77
  # @return [XssProtectionBatchResponse]
@@ -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::SqlInjectionCheckBatchRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SqlInjectionCheckBatchRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::SqlInjectionCheckBatchRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SqlInjectionCheckBatchRequest' do
31
+ it 'should create an instance of SqlInjectionCheckBatchRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::SqlInjectionCheckBatchRequest)
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
+ describe 'test attribute "detection_level"' 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::SqlInjectionCheckBatchResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SqlInjectionCheckBatchResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::SqlInjectionCheckBatchResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SqlInjectionCheckBatchResponse' do
31
+ it 'should create an instance of SqlInjectionCheckBatchResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::SqlInjectionCheckBatchResponse)
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,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::SqlInjectionCheckRequestItem
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SqlInjectionCheckRequestItem' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::SqlInjectionCheckRequestItem.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SqlInjectionCheckRequestItem' do
31
+ it 'should create an instance of SqlInjectionCheckRequestItem' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::SqlInjectionCheckRequestItem)
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
+ end
@@ -0,0 +1,53 @@
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::SqlInjectionDetectionResult
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SqlInjectionDetectionResult' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::SqlInjectionDetectionResult.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SqlInjectionDetectionResult' do
31
+ it 'should create an instance of SqlInjectionDetectionResult' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::SqlInjectionDetectionResult)
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_sql_injection_attack"' 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 "original_input"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
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.1.9
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-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -252,6 +252,10 @@ files:
252
252
  - "./docs/PublicHolidaysResponse.md"
253
253
  - "./docs/ReverseGeocodeAddressRequest.md"
254
254
  - "./docs/ReverseGeocodeAddressResponse.md"
255
+ - "./docs/SqlInjectionCheckBatchRequest.md"
256
+ - "./docs/SqlInjectionCheckBatchResponse.md"
257
+ - "./docs/SqlInjectionCheckRequestItem.md"
258
+ - "./docs/SqlInjectionDetectionResult.md"
255
259
  - "./docs/TextInputApi.md"
256
260
  - "./docs/Timezone.md"
257
261
  - "./docs/TorNodeResponse.md"
@@ -345,6 +349,10 @@ files:
345
349
  - "./lib/cloudmersive-validate-api-client/models/public_holidays_response.rb"
346
350
  - "./lib/cloudmersive-validate-api-client/models/reverse_geocode_address_request.rb"
347
351
  - "./lib/cloudmersive-validate-api-client/models/reverse_geocode_address_response.rb"
352
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_request.rb"
353
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_response.rb"
354
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_request_item.rb"
355
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_detection_result.rb"
348
356
  - "./lib/cloudmersive-validate-api-client/models/timezone.rb"
349
357
  - "./lib/cloudmersive-validate-api-client/models/tor_node_response.rb"
350
358
  - "./lib/cloudmersive-validate-api-client/models/url_safety_check_request_full.rb"
@@ -433,6 +441,10 @@ files:
433
441
  - "./spec/models/public_holidays_response_spec.rb"
434
442
  - "./spec/models/reverse_geocode_address_request_spec.rb"
435
443
  - "./spec/models/reverse_geocode_address_response_spec.rb"
444
+ - "./spec/models/sql_injection_check_batch_request_spec.rb"
445
+ - "./spec/models/sql_injection_check_batch_response_spec.rb"
446
+ - "./spec/models/sql_injection_check_request_item_spec.rb"
447
+ - "./spec/models/sql_injection_detection_result_spec.rb"
436
448
  - "./spec/models/timezone_spec.rb"
437
449
  - "./spec/models/tor_node_response_spec.rb"
438
450
  - "./spec/models/url_safety_check_request_full_spec.rb"