cloudmersive-image-recognition-api-client 1.3.7 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -5
  3. data/cloudmersive-image-recognition-api-client.gemspec +1 -1
  4. data/docs/ColorResult.md +10 -0
  5. data/docs/DetectedLicensePlate.md +4 -4
  6. data/docs/DominantColorResult.md +9 -0
  7. data/docs/EditApi.md +134 -0
  8. data/docs/FaceApi.md +55 -0
  9. data/docs/FaceCompareResponse.md +1 -1
  10. data/docs/FaceLocateWithLandmarksResponse.md +1 -1
  11. data/docs/FaceWithLandmarks.md +9 -9
  12. data/docs/FilterApi.md +475 -0
  13. data/docs/FindSymbolResult.md +12 -0
  14. data/docs/GenderDetectionResult.md +10 -0
  15. data/docs/InfoApi.md +63 -0
  16. data/docs/PersonWithAge.md +1 -0
  17. data/docs/PersonWithGender.md +10 -0
  18. data/docs/RecognizeApi.md +68 -4
  19. data/docs/ResizeApi.md +64 -3
  20. data/lib/cloudmersive-image-recognition-api-client.rb +8 -1
  21. data/lib/cloudmersive-image-recognition-api-client/api/artistic_api.rb +1 -1
  22. data/lib/cloudmersive-image-recognition-api-client/api/edit_api.rb +161 -1
  23. data/lib/cloudmersive-image-recognition-api-client/api/face_api.rb +57 -1
  24. data/lib/cloudmersive-image-recognition-api-client/api/filter_api.rb +524 -0
  25. data/lib/cloudmersive-image-recognition-api-client/api/info_api.rb +79 -0
  26. data/lib/cloudmersive-image-recognition-api-client/api/nsfw_api.rb +1 -1
  27. data/lib/cloudmersive-image-recognition-api-client/api/recognize_api.rb +76 -4
  28. data/lib/cloudmersive-image-recognition-api-client/api/resize_api.rb +71 -3
  29. data/lib/cloudmersive-image-recognition-api-client/api_client.rb +1 -1
  30. data/lib/cloudmersive-image-recognition-api-client/api_error.rb +1 -1
  31. data/lib/cloudmersive-image-recognition-api-client/configuration.rb +1 -1
  32. data/lib/cloudmersive-image-recognition-api-client/models/age_detection_result.rb +1 -1
  33. data/lib/cloudmersive-image-recognition-api-client/models/color_result.rb +209 -0
  34. data/lib/cloudmersive-image-recognition-api-client/models/detected_license_plate.rb +26 -22
  35. data/lib/cloudmersive-image-recognition-api-client/models/detected_object.rb +1 -1
  36. data/lib/cloudmersive-image-recognition-api-client/models/dominant_color_result.rb +201 -0
  37. data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_instance.rb +1 -1
  38. data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_request.rb +1 -1
  39. data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_instance.rb +1 -1
  40. data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_request.rb +1 -1
  41. data/lib/cloudmersive-image-recognition-api-client/models/draw_text_instance.rb +1 -1
  42. data/lib/cloudmersive-image-recognition-api-client/models/draw_text_request.rb +1 -1
  43. data/lib/cloudmersive-image-recognition-api-client/models/face.rb +1 -1
  44. data/lib/cloudmersive-image-recognition-api-client/models/face_compare_response.rb +15 -14
  45. data/lib/cloudmersive-image-recognition-api-client/models/face_locate_response.rb +1 -1
  46. data/lib/cloudmersive-image-recognition-api-client/models/face_locate_with_landmarks_response.rb +15 -14
  47. data/lib/cloudmersive-image-recognition-api-client/models/face_match.rb +1 -1
  48. data/lib/cloudmersive-image-recognition-api-client/models/face_point.rb +1 -1
  49. data/lib/cloudmersive-image-recognition-api-client/models/face_with_landmarks.rb +54 -45
  50. data/lib/cloudmersive-image-recognition-api-client/models/find_symbol_result.rb +229 -0
  51. data/lib/cloudmersive-image-recognition-api-client/models/fine_text_detection_result.rb +1 -1
  52. data/lib/cloudmersive-image-recognition-api-client/models/fine_text_item.rb +1 -1
  53. data/lib/cloudmersive-image-recognition-api-client/models/gender_detection_result.rb +211 -0
  54. data/lib/cloudmersive-image-recognition-api-client/models/image_description_response.rb +1 -1
  55. data/lib/cloudmersive-image-recognition-api-client/models/nsfw_result.rb +1 -1
  56. data/lib/cloudmersive-image-recognition-api-client/models/object_detection_result.rb +1 -1
  57. data/lib/cloudmersive-image-recognition-api-client/models/person_with_age.rb +14 -5
  58. data/lib/cloudmersive-image-recognition-api-client/models/person_with_gender.rb +209 -0
  59. data/lib/cloudmersive-image-recognition-api-client/models/polygon_point.rb +1 -1
  60. data/lib/cloudmersive-image-recognition-api-client/models/recognition_outcome.rb +1 -1
  61. data/lib/cloudmersive-image-recognition-api-client/models/text_detection_result.rb +1 -1
  62. data/lib/cloudmersive-image-recognition-api-client/models/text_item.rb +1 -1
  63. data/lib/cloudmersive-image-recognition-api-client/models/vehicle_license_plate_detection_result.rb +1 -1
  64. data/lib/cloudmersive-image-recognition-api-client/version.rb +2 -2
  65. data/spec/api/artistic_api_spec.rb +1 -1
  66. data/spec/api/edit_api_spec.rb +33 -1
  67. data/spec/api/face_api_spec.rb +13 -1
  68. data/spec/api/filter_api_spec.rb +140 -0
  69. data/spec/api/info_api_spec.rb +47 -0
  70. data/spec/api/nsfw_api_spec.rb +1 -1
  71. data/spec/api/recognize_api_spec.rb +15 -1
  72. data/spec/api/resize_api_spec.rb +16 -2
  73. data/spec/api_client_spec.rb +1 -1
  74. data/spec/configuration_spec.rb +1 -1
  75. data/spec/models/age_detection_result_spec.rb +1 -1
  76. data/spec/models/color_result_spec.rb +54 -0
  77. data/spec/models/detected_license_plate_spec.rb +7 -7
  78. data/spec/models/detected_object_spec.rb +1 -1
  79. data/spec/models/dominant_color_result_spec.rb +48 -0
  80. data/spec/models/draw_polygon_instance_spec.rb +1 -1
  81. data/spec/models/draw_polygon_request_spec.rb +1 -1
  82. data/spec/models/draw_rectangle_instance_spec.rb +1 -1
  83. data/spec/models/draw_rectangle_request_spec.rb +1 -1
  84. data/spec/models/draw_text_instance_spec.rb +1 -1
  85. data/spec/models/draw_text_request_spec.rb +1 -1
  86. data/spec/models/face_compare_response_spec.rb +5 -5
  87. data/spec/models/face_locate_response_spec.rb +1 -1
  88. data/spec/models/face_locate_with_landmarks_response_spec.rb +5 -5
  89. data/spec/models/face_match_spec.rb +1 -1
  90. data/spec/models/face_point_spec.rb +1 -1
  91. data/spec/models/face_spec.rb +1 -1
  92. data/spec/models/face_with_landmarks_spec.rb +14 -14
  93. data/spec/models/find_symbol_result_spec.rb +66 -0
  94. data/spec/models/fine_text_detection_result_spec.rb +1 -1
  95. data/spec/models/fine_text_item_spec.rb +1 -1
  96. data/spec/models/gender_detection_result_spec.rb +54 -0
  97. data/spec/models/image_description_response_spec.rb +1 -1
  98. data/spec/models/nsfw_result_spec.rb +1 -1
  99. data/spec/models/object_detection_result_spec.rb +1 -1
  100. data/spec/models/person_with_age_spec.rb +7 -1
  101. data/spec/models/person_with_gender_spec.rb +54 -0
  102. data/spec/models/polygon_point_spec.rb +1 -1
  103. data/spec/models/recognition_outcome_spec.rb +1 -1
  104. data/spec/models/text_detection_result_spec.rb +1 -1
  105. data/spec/models/text_item_spec.rb +1 -1
  106. data/spec/models/vehicle_license_plate_detection_result_spec.rb +1 -1
  107. data/spec/spec_helper.rb +1 -1
  108. metadata +36 -16
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  module CloudmersiveImageRecognitionApiClient
14
- VERSION = "1.3.7"
14
+ VERSION = "1.4.0"
15
15
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -71,6 +71,22 @@ describe 'EditApi' do
71
71
  end
72
72
  end
73
73
 
74
+ # unit tests for edit_crop_rectangle
75
+ # Crop an image to a rectangular area
76
+ # Crop an image to a target rectangular area
77
+ # @param left The left edge of the rectangular crop area in pixels (X).
78
+ # @param top The top edge of the rectangular crop area in pixels (Y).
79
+ # @param width The width of the rectangular crop area in pixels.
80
+ # @param height The height of the rectangular crop area in pixels.
81
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
82
+ # @param [Hash] opts the optional parameters
83
+ # @return [String]
84
+ describe 'edit_crop_rectangle test' do
85
+ it "should work" do
86
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
+ end
88
+ end
89
+
74
90
  # unit tests for edit_draw_polygon
75
91
  # Draw a polygon onto an image
76
92
  # Draw one or more polygons, with customized visuals, onto an image
@@ -107,6 +123,22 @@ describe 'EditApi' do
107
123
  end
108
124
  end
109
125
 
126
+ # unit tests for edit_drop_shadow
127
+ # Add a customizeable drop shadow to an image
128
+ # Add a customizeable drop shadow to the image
129
+ # @param x Horizontal (X) offset of the drop shadow
130
+ # @param y Vertical (Y) offset of the drop shadow
131
+ # @param sigma Sigma (blur distance) of the drop shadow
132
+ # @param opacity Opacity of the drop shadow; 0 is 0% and 100 is 100%
133
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
134
+ # @param [Hash] opts the optional parameters
135
+ # @return [String]
136
+ describe 'edit_drop_shadow test' do
137
+ it "should work" do
138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
139
+ end
140
+ end
141
+
110
142
  # unit tests for edit_rotate
111
143
  # Rotate an image any number of degrees
112
144
  # Rotates an image by an arbitrary number of degrees
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -81,6 +81,18 @@ describe 'FaceApi' do
81
81
  end
82
82
  end
83
83
 
84
+ # unit tests for face_detect_gender
85
+ # Detect the gender of people in an image
86
+ # Identify the gender, position, and size of human faces in an image, along with a recognition confidence level. People in the image should be facing the camera.
87
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [GenderDetectionResult]
90
+ describe 'face_detect_gender test' do
91
+ it "should work" do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
84
96
  # unit tests for face_locate
85
97
  # Find faces in an image
86
98
  # Locate the positions of all faces in an image
@@ -0,0 +1,140 @@
1
+ =begin
2
+ #imageapi
3
+
4
+ #Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveImageRecognitionApiClient::FilterApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'FilterApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveImageRecognitionApiClient::FilterApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of FilterApi' do
30
+ it 'should create an instance of FilterApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::FilterApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for filter_black_and_white
36
+ # Convert image to black-and-white grayscale
37
+ # Remove color from the image by converting to a grayscale, black-and-white image
38
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [String]
41
+ describe 'filter_black_and_white test' 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
+ # unit tests for filter_despeckle
48
+ # Despeckle (remove point noise) from the image
49
+ # Remove point noise / despeckle the input image
50
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [String]
53
+ describe 'filter_despeckle test' 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
+ # unit tests for filter_edge_detect
60
+ # Detect and highlight edges in an image
61
+ # Perform an edge detection operation on the input image
62
+ # @param radius Radius in pixels of the edge detection operation; a larger radius will produce a greater effect
63
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
64
+ # @param [Hash] opts the optional parameters
65
+ # @return [String]
66
+ describe 'filter_edge_detect test' do
67
+ it "should work" do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ # unit tests for filter_emboss
73
+ # Emboss an image
74
+ # Perform an emboss operation on the input image
75
+ # @param radius Radius in pixels of the emboss operation; a larger radius will produce a greater effect
76
+ # @param sigma Sigma, or variance, of the emboss operation
77
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
78
+ # @param [Hash] opts the optional parameters
79
+ # @return [String]
80
+ describe 'filter_emboss test' do
81
+ it "should work" do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ # unit tests for filter_gaussian_blur
87
+ # Perform a guassian blur on the input image
88
+ # Perform a gaussian blur on the input image
89
+ # @param radius Radius in pixels of the blur operation; a larger radius will produce a greater blur effect
90
+ # @param sigma Sigma, or variance, of the gaussian blur operation
91
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [String]
94
+ describe 'filter_gaussian_blur test' do
95
+ it "should work" do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ # unit tests for filter_motion_blur
101
+ # Perform a motion blur on the input image
102
+ # Perform a motion blur on the input image at a specific angle
103
+ # @param radius Radius in pixels of the blur operation; a larger radius will produce a greater blur effect
104
+ # @param sigma Sigma, or variance, of the motion blur operation
105
+ # @param angle Angle of the motion blur in degrees
106
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
107
+ # @param [Hash] opts the optional parameters
108
+ # @return [String]
109
+ describe 'filter_motion_blur test' do
110
+ it "should work" do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ # unit tests for filter_posterize
116
+ # Posterize the image by reducing distinct colors
117
+ # Reduce the unique number of colors in the image to the specified level
118
+ # @param levels Number of unique colors to retain in the output image
119
+ # @param [Hash] opts the optional parameters
120
+ # @return [Object]
121
+ describe 'filter_posterize test' do
122
+ it "should work" do
123
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
+ end
125
+ end
126
+
127
+ # unit tests for filter_swirl
128
+ # Swirl distort the image
129
+ # Swirl distort the image by the specified number of degrees
130
+ # @param degrees Degrees of swirl
131
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
132
+ # @param [Hash] opts the optional parameters
133
+ # @return [String]
134
+ describe 'filter_swirl test' do
135
+ it "should work" do
136
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
137
+ end
138
+ end
139
+
140
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #imageapi
3
+
4
+ #Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveImageRecognitionApiClient::InfoApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'InfoApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveImageRecognitionApiClient::InfoApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of InfoApi' do
30
+ it 'should create an instance of InfoApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::InfoApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for info_get_dominant_color
36
+ # Returns the dominant colors of the image
37
+ # Uses advanced image processing to extract the top 5 dominant colors in the image, returned in the order of dominance with the most-dominant color first. These are the primary perceptual colors used in the image as perceived by a viewer.
38
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [DominantColorResult]
41
+ describe 'info_get_dominant_color test' 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
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -96,6 +96,7 @@ describe 'RecognizeApi' do
96
96
  # unit tests for recognize_detect_text_large
97
97
  # Detect large text in a photo
98
98
  # Identify the position, and size of large text within a photograph. Identify the location of large text in a photo - such as signs, titles, etc. and other forms of large, low-density text. Not suitable for high-density text (e.g. scans of documents, receipts, etc.) for OCR purposes - for OCR, please see our Deep Learning OCR APIs.
99
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
99
100
  # @param [Hash] opts the optional parameters
100
101
  # @return [TextDetectionResult]
101
102
  describe 'recognize_detect_text_large test' do
@@ -116,4 +117,17 @@ describe 'RecognizeApi' do
116
117
  end
117
118
  end
118
119
 
120
+ # unit tests for recognize_find_symbol
121
+ # Find the location of a symbol in an image
122
+ # Determine if an image contains a symbol, and if so, the location of that symbol in the image.
123
+ # @param input_image Image file to search through for the target image.
124
+ # @param target_image Image to find in the input image.
125
+ # @param [Hash] opts the optional parameters
126
+ # @return [FindSymbolResult]
127
+ describe 'recognize_find_symbol test' do
128
+ it "should work" do
129
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
130
+ end
131
+ end
132
+
119
133
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -33,7 +33,7 @@ describe 'ResizeApi' do
33
33
  end
34
34
 
35
35
  # unit tests for resize_post
36
- # Resize an image with parameters
36
+ # Resize an image while preserving aspect ratio
37
37
  # Resize an image to a maximum width and maximum height, while preserving the image's original aspect ratio
38
38
  # @param max_width Maximum width of the output image - final image will be as large as possible while less than or equial to this width
39
39
  # @param max_height Maximum height of the output image - final image will be as large as possible while less than or equial to this height
@@ -46,4 +46,18 @@ describe 'ResizeApi' do
46
46
  end
47
47
  end
48
48
 
49
+ # unit tests for resize_resize_simple
50
+ # Resize an image
51
+ # Resize an image to a specific width and specific height
52
+ # @param width
53
+ # @param height
54
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
55
+ # @param [Hash] opts the optional parameters
56
+ # @return [String]
57
+ describe 'resize_resize_simple test' do
58
+ it "should work" do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
49
63
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12