cloudmersive-convert-api-client 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -104,6 +104,18 @@ describe 'ValidateDocumentApi' do
104
104
  end
105
105
  end
106
106
 
107
+ # unit tests for validate_document_html_ssrf_validation
108
+ # Validate an HTML file and checks for SSRF threats
109
+ # Validate an HTML document file and checks for SSRF (Server-side Request Forgery) threats in the file; if the document is not valid, identifies the errors in the document
110
+ # @param input_file Input file to perform the operation on.
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [HtmlSsrfThreatCheckResult]
113
+ describe 'validate_document_html_ssrf_validation test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
107
119
  # unit tests for validate_document_html_validation
108
120
  # Validate an HTML file
109
121
  # Validate an HTML document file; if the document is not valid, identifies the errors in the document
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
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 CloudmersiveConvertApiClient::HtmlGetLinksResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'HtmlGetLinksResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::HtmlGetLinksResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of HtmlGetLinksResponse' do
31
+ it 'should create an instance of HtmlGetLinksResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlGetLinksResponse)
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 "links"' 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,47 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
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 CloudmersiveConvertApiClient::HtmlHyperlink
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'HtmlHyperlink' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::HtmlHyperlink.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of HtmlHyperlink' do
31
+ it 'should create an instance of HtmlHyperlink' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlHyperlink)
33
+ end
34
+ end
35
+ describe 'test attribute "anchortext"' 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 "url"' 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,53 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
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 CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'HtmlSsrfThreatCheckResult' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of HtmlSsrfThreatCheckResult' do
31
+ it 'should create an instance of HtmlSsrfThreatCheckResult' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult)
33
+ end
34
+ end
35
+ describe 'test attribute "is_valid"' 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 "is_threat"' 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 "threat_links"' 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
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
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 CloudmersiveConvertApiClient::HtmlThreatLink
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'HtmlThreatLink' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::HtmlThreatLink.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of HtmlThreatLink' do
31
+ it 'should create an instance of HtmlThreatLink' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlThreatLink)
33
+ end
34
+ end
35
+ describe 'test attribute "link_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 "threat_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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-convert-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -342,10 +342,14 @@ files:
342
342
  - "./docs/GetXlsxStylesResponse.md"
343
343
  - "./docs/GetXlsxWorksheetsRequest.md"
344
344
  - "./docs/GetXlsxWorksheetsResponse.md"
345
+ - "./docs/HtmlGetLinksResponse.md"
346
+ - "./docs/HtmlHyperlink.md"
345
347
  - "./docs/HtmlMdResult.md"
348
+ - "./docs/HtmlSsrfThreatCheckResult.md"
346
349
  - "./docs/HtmlTemplateApplicationRequest.md"
347
350
  - "./docs/HtmlTemplateApplicationResponse.md"
348
351
  - "./docs/HtmlTemplateOperation.md"
352
+ - "./docs/HtmlThreatLink.md"
349
353
  - "./docs/HtmlToOfficeRequest.md"
350
354
  - "./docs/HtmlToPdfRequest.md"
351
355
  - "./docs/HtmlToPngRequest.md"
@@ -612,10 +616,14 @@ files:
612
616
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb"
613
617
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb"
614
618
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb"
619
+ - "./lib/cloudmersive-convert-api-client/models/html_get_links_response.rb"
620
+ - "./lib/cloudmersive-convert-api-client/models/html_hyperlink.rb"
615
621
  - "./lib/cloudmersive-convert-api-client/models/html_md_result.rb"
622
+ - "./lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb"
616
623
  - "./lib/cloudmersive-convert-api-client/models/html_template_application_request.rb"
617
624
  - "./lib/cloudmersive-convert-api-client/models/html_template_application_response.rb"
618
625
  - "./lib/cloudmersive-convert-api-client/models/html_template_operation.rb"
626
+ - "./lib/cloudmersive-convert-api-client/models/html_threat_link.rb"
619
627
  - "./lib/cloudmersive-convert-api-client/models/html_to_office_request.rb"
620
628
  - "./lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb"
621
629
  - "./lib/cloudmersive-convert-api-client/models/html_to_png_request.rb"
@@ -874,10 +882,14 @@ files:
874
882
  - "./spec/models/get_xlsx_styles_response_spec.rb"
875
883
  - "./spec/models/get_xlsx_worksheets_request_spec.rb"
876
884
  - "./spec/models/get_xlsx_worksheets_response_spec.rb"
885
+ - "./spec/models/html_get_links_response_spec.rb"
886
+ - "./spec/models/html_hyperlink_spec.rb"
877
887
  - "./spec/models/html_md_result_spec.rb"
888
+ - "./spec/models/html_ssrf_threat_check_result_spec.rb"
878
889
  - "./spec/models/html_template_application_request_spec.rb"
879
890
  - "./spec/models/html_template_application_response_spec.rb"
880
891
  - "./spec/models/html_template_operation_spec.rb"
892
+ - "./spec/models/html_threat_link_spec.rb"
881
893
  - "./spec/models/html_to_office_request_spec.rb"
882
894
  - "./spec/models/html_to_pdf_request_spec.rb"
883
895
  - "./spec/models/html_to_png_request_spec.rb"