kuapir 0.1.2

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 (190) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +13 -0
  3. data/Gemfile.lock +77 -0
  4. data/LICENSE +21 -0
  5. data/README.md +170 -0
  6. data/Rakefile +12 -0
  7. data/docs/BoxOffice.md +26 -0
  8. data/docs/BoxOfficeResponse.md +20 -0
  9. data/docs/Company.md +18 -0
  10. data/docs/Country.md +18 -0
  11. data/docs/DigitalReleaseItem.md +44 -0
  12. data/docs/DigitalReleaseResponse.md +22 -0
  13. data/docs/Distribution.md +28 -0
  14. data/docs/DistributionResponse.md +20 -0
  15. data/docs/Episode.md +28 -0
  16. data/docs/Fact.md +22 -0
  17. data/docs/FactResponse.md +20 -0
  18. data/docs/Film.md +100 -0
  19. data/docs/FilmSearchByFiltersResponse.md +22 -0
  20. data/docs/FilmSearchByFiltersResponseItems.md +42 -0
  21. data/docs/FilmSearchResponse.md +24 -0
  22. data/docs/FilmSearchResponseFilms.md +42 -0
  23. data/docs/FilmSequelsAndPrequelsResponse.md +30 -0
  24. data/docs/FilmTopResponse.md +20 -0
  25. data/docs/FilmTopResponseFilms.md +38 -0
  26. data/docs/FilmsApi.md +1126 -0
  27. data/docs/FiltersResponse.md +20 -0
  28. data/docs/FiltersResponseCountries.md +20 -0
  29. data/docs/FiltersResponseGenres.md +20 -0
  30. data/docs/Genre.md +18 -0
  31. data/docs/ImageResponse.md +22 -0
  32. data/docs/ImageResponseItems.md +20 -0
  33. data/docs/PersonByNameResponse.md +20 -0
  34. data/docs/PersonByNameResponseItems.md +28 -0
  35. data/docs/PersonResponse.md +50 -0
  36. data/docs/PersonResponseFilms.md +30 -0
  37. data/docs/PersonResponseSpouses.md +32 -0
  38. data/docs/PersonsApi.md +83 -0
  39. data/docs/PremiereResponse.md +20 -0
  40. data/docs/PremiereResponseItem.md +36 -0
  41. data/docs/RelatedFilmResponse.md +20 -0
  42. data/docs/RelatedFilmResponseItems.md +30 -0
  43. data/docs/ReviewDetailsResponse.md +32 -0
  44. data/docs/ReviewsApi.md +155 -0
  45. data/docs/ReviewsResponse.md +34 -0
  46. data/docs/ReviewsResponseReviews.md +32 -0
  47. data/docs/Season.md +20 -0
  48. data/docs/SeasonResponse.md +20 -0
  49. data/docs/StaffApi.md +147 -0
  50. data/docs/StaffResponse.md +30 -0
  51. data/docs/VideoResponse.md +20 -0
  52. data/docs/VideoResponseItems.md +22 -0
  53. data/kinopoiskapiunofficial-openapi.json +2918 -0
  54. data/kuapir.gemspec +42 -0
  55. data/lib/kuapir/api/films_api.rb +1193 -0
  56. data/lib/kuapir/api/persons_api.rb +89 -0
  57. data/lib/kuapir/api/reviews_api.rb +165 -0
  58. data/lib/kuapir/api/staff_api.rb +145 -0
  59. data/lib/kuapir/api_client.rb +390 -0
  60. data/lib/kuapir/api_error.rb +57 -0
  61. data/lib/kuapir/configuration.rb +287 -0
  62. data/lib/kuapir/models/box_office.rb +246 -0
  63. data/lib/kuapir/models/box_office_response.rb +224 -0
  64. data/lib/kuapir/models/company.rb +214 -0
  65. data/lib/kuapir/models/country.rb +214 -0
  66. data/lib/kuapir/models/digital_release_item.rb +334 -0
  67. data/lib/kuapir/models/digital_release_response.rb +232 -0
  68. data/lib/kuapir/models/distribution.rb +300 -0
  69. data/lib/kuapir/models/distribution_response.rb +224 -0
  70. data/lib/kuapir/models/episode.rb +249 -0
  71. data/lib/kuapir/models/fact.rb +266 -0
  72. data/lib/kuapir/models/fact_response.rb +224 -0
  73. data/lib/kuapir/models/film.rb +551 -0
  74. data/lib/kuapir/models/film_search_by_filters_response.rb +232 -0
  75. data/lib/kuapir/models/film_search_by_filters_response_items.rb +319 -0
  76. data/lib/kuapir/models/film_search_response.rb +244 -0
  77. data/lib/kuapir/models/film_search_response_films.rb +311 -0
  78. data/lib/kuapir/models/film_sequels_and_prequels_response.rb +300 -0
  79. data/lib/kuapir/models/film_top_response.rb +224 -0
  80. data/lib/kuapir/models/film_top_response_films.rb +272 -0
  81. data/lib/kuapir/models/filters_response.rb +226 -0
  82. data/lib/kuapir/models/filters_response_countries.rb +214 -0
  83. data/lib/kuapir/models/filters_response_genres.rb +214 -0
  84. data/lib/kuapir/models/genre.rb +214 -0
  85. data/lib/kuapir/models/image_response.rb +238 -0
  86. data/lib/kuapir/models/image_response_items.rb +214 -0
  87. data/lib/kuapir/models/person_by_name_response.rb +224 -0
  88. data/lib/kuapir/models/person_by_name_response_items.rb +274 -0
  89. data/lib/kuapir/models/person_response.rb +363 -0
  90. data/lib/kuapir/models/person_response_films.rb +284 -0
  91. data/lib/kuapir/models/person_response_spouses.rb +283 -0
  92. data/lib/kuapir/models/premiere_response.rb +224 -0
  93. data/lib/kuapir/models/premiere_response_item.rb +289 -0
  94. data/lib/kuapir/models/related_film_response.rb +224 -0
  95. data/lib/kuapir/models/related_film_response_items.rb +279 -0
  96. data/lib/kuapir/models/review_details_response.rb +314 -0
  97. data/lib/kuapir/models/reviews_response.rb +294 -0
  98. data/lib/kuapir/models/reviews_response_reviews.rb +282 -0
  99. data/lib/kuapir/models/season.rb +224 -0
  100. data/lib/kuapir/models/season_response.rb +224 -0
  101. data/lib/kuapir/models/staff_response.rb +301 -0
  102. data/lib/kuapir/models/video_response.rb +224 -0
  103. data/lib/kuapir/models/video_response_items.rb +255 -0
  104. data/lib/kuapir/version.rb +5 -0
  105. data/lib/kuapir.rb +83 -0
  106. data/openapi-generator-templates/Gemfile.mustache +9 -0
  107. data/openapi-generator-templates/README.mustache +148 -0
  108. data/openapi-generator-templates/Rakefile.mustache +10 -0
  109. data/openapi-generator-templates/api.mustache +205 -0
  110. data/openapi-generator-templates/api_client.mustache +260 -0
  111. data/openapi-generator-templates/api_client_faraday_partial.mustache +136 -0
  112. data/openapi-generator-templates/api_client_spec.mustache +216 -0
  113. data/openapi-generator-templates/api_client_typhoeus_partial.mustache +153 -0
  114. data/openapi-generator-templates/api_doc.mustache +118 -0
  115. data/openapi-generator-templates/api_error.mustache +45 -0
  116. data/openapi-generator-templates/api_info.mustache +12 -0
  117. data/openapi-generator-templates/api_test.mustache +43 -0
  118. data/openapi-generator-templates/base_object.mustache +120 -0
  119. data/openapi-generator-templates/configuration.mustache +381 -0
  120. data/openapi-generator-templates/configuration_spec.mustache +30 -0
  121. data/openapi-generator-templates/configuration_tls_faraday_partial.mustache +29 -0
  122. data/openapi-generator-templates/configuration_tls_typhoeus_partial.mustache +34 -0
  123. data/openapi-generator-templates/gem.mustache +50 -0
  124. data/openapi-generator-templates/gemspec.mustache +31 -0
  125. data/openapi-generator-templates/git_push.sh.mustache +57 -0
  126. data/openapi-generator-templates/gitignore.mustache +39 -0
  127. data/openapi-generator-templates/model.mustache +22 -0
  128. data/openapi-generator-templates/model_doc.mustache +12 -0
  129. data/openapi-generator-templates/model_test.mustache +73 -0
  130. data/openapi-generator-templates/partial_model_enum_class.mustache +20 -0
  131. data/openapi-generator-templates/partial_model_generic.mustache +371 -0
  132. data/openapi-generator-templates/partial_model_generic_doc.mustache +28 -0
  133. data/openapi-generator-templates/partial_oneof_module.mustache +137 -0
  134. data/openapi-generator-templates/partial_oneof_module_doc.mustache +92 -0
  135. data/openapi-generator-templates/rspec.mustache +2 -0
  136. data/openapi-generator-templates/rubocop.mustache +148 -0
  137. data/openapi-generator-templates/spec_helper.mustache +99 -0
  138. data/openapi-generator-templates/travis.mustache +14 -0
  139. data/openapi-generator-templates/version.mustache +3 -0
  140. data/openapitools.json +21 -0
  141. data/spec/api/films_api_spec.rb +227 -0
  142. data/spec/api/persons_api_spec.rb +45 -0
  143. data/spec/api/reviews_api_spec.rb +57 -0
  144. data/spec/api/staff_api_spec.rb +54 -0
  145. data/spec/api_client_spec.rb +229 -0
  146. data/spec/configuration_spec.rb +28 -0
  147. data/spec/models/box_office_response_spec.rb +37 -0
  148. data/spec/models/box_office_spec.rb +55 -0
  149. data/spec/models/company_spec.rb +31 -0
  150. data/spec/models/country_spec.rb +31 -0
  151. data/spec/models/digital_release_item_spec.rb +109 -0
  152. data/spec/models/digital_release_response_spec.rb +43 -0
  153. data/spec/models/distribution_response_spec.rb +37 -0
  154. data/spec/models/distribution_spec.rb +69 -0
  155. data/spec/models/episode_spec.rb +61 -0
  156. data/spec/models/fact_response_spec.rb +37 -0
  157. data/spec/models/fact_spec.rb +47 -0
  158. data/spec/models/film_search_by_filters_response_items_spec.rb +107 -0
  159. data/spec/models/film_search_by_filters_response_spec.rb +43 -0
  160. data/spec/models/film_search_response_films_spec.rb +107 -0
  161. data/spec/models/film_search_response_spec.rb +49 -0
  162. data/spec/models/film_sequels_and_prequels_response_spec.rb +71 -0
  163. data/spec/models/film_spec.rb +285 -0
  164. data/spec/models/film_top_response_films_spec.rb +91 -0
  165. data/spec/models/film_top_response_spec.rb +37 -0
  166. data/spec/models/filters_response_countries_spec.rb +37 -0
  167. data/spec/models/filters_response_genres_spec.rb +37 -0
  168. data/spec/models/filters_response_spec.rb +37 -0
  169. data/spec/models/genre_spec.rb +31 -0
  170. data/spec/models/image_response_items_spec.rb +37 -0
  171. data/spec/models/image_response_spec.rb +43 -0
  172. data/spec/models/person_by_name_response_items_spec.rb +65 -0
  173. data/spec/models/person_by_name_response_spec.rb +37 -0
  174. data/spec/models/person_response_films_spec.rb +71 -0
  175. data/spec/models/person_response_spec.rb +131 -0
  176. data/spec/models/person_response_spouses_spec.rb +77 -0
  177. data/spec/models/premiere_response_item_spec.rb +85 -0
  178. data/spec/models/premiere_response_spec.rb +37 -0
  179. data/spec/models/related_film_response_items_spec.rb +71 -0
  180. data/spec/models/related_film_response_spec.rb +37 -0
  181. data/spec/models/review_details_response_spec.rb +77 -0
  182. data/spec/models/reviews_response_reviews_spec.rb +77 -0
  183. data/spec/models/reviews_response_spec.rb +79 -0
  184. data/spec/models/season_response_spec.rb +37 -0
  185. data/spec/models/season_spec.rb +37 -0
  186. data/spec/models/staff_response_spec.rb +71 -0
  187. data/spec/models/video_response_items_spec.rb +47 -0
  188. data/spec/models/video_response_spec.rb +37 -0
  189. data/spec/spec_helper.rb +107 -0
  190. metadata +326 -0
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::BoxOfficeResponse
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::BoxOfficeResponse do
19
+ let(:instance) { Kuapir::BoxOfficeResponse.new }
20
+
21
+ describe "test an instance of BoxOfficeResponse" do
22
+ it "should create an instance of BoxOfficeResponse" do
23
+ expect(instance).to be_instance_of(Kuapir::BoxOfficeResponse)
24
+ end
25
+ end
26
+ describe 'test attribute "total"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "items"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::BoxOffice
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::BoxOffice do
19
+ let(:instance) { Kuapir::BoxOffice.new }
20
+
21
+ describe "test an instance of BoxOffice" do
22
+ it "should create an instance of BoxOffice" do
23
+ expect(instance).to be_instance_of(Kuapir::BoxOffice)
24
+ end
25
+ end
26
+ describe 'test attribute "type"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "amount"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "currency_code"' do
39
+ it "should work" do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "name"' do
45
+ it "should work" do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "symbol"' do
51
+ it "should work" do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::Company
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::Company do
19
+ let(:instance) { Kuapir::Company.new }
20
+
21
+ describe "test an instance of Company" do
22
+ it "should create an instance of Company" do
23
+ expect(instance).to be_instance_of(Kuapir::Company)
24
+ end
25
+ end
26
+ describe 'test attribute "name"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::Country
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::Country do
19
+ let(:instance) { Kuapir::Country.new }
20
+
21
+ describe "test an instance of Country" do
22
+ it "should create an instance of Country" do
23
+ expect(instance).to be_instance_of(Kuapir::Country)
24
+ end
25
+ end
26
+ describe 'test attribute "country"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,109 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::DigitalReleaseItem
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::DigitalReleaseItem do
19
+ let(:instance) { Kuapir::DigitalReleaseItem.new }
20
+
21
+ describe "test an instance of DigitalReleaseItem" do
22
+ it "should create an instance of DigitalReleaseItem" do
23
+ expect(instance).to be_instance_of(Kuapir::DigitalReleaseItem)
24
+ end
25
+ end
26
+ describe 'test attribute "film_id"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "name_ru"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "name_en"' do
39
+ it "should work" do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "year"' do
45
+ it "should work" do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "poster_url"' do
51
+ it "should work" do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "poster_url_preview"' do
57
+ it "should work" do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "countries"' do
63
+ it "should work" do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ describe 'test attribute "genres"' do
69
+ it "should work" do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ describe 'test attribute "rating"' do
75
+ it "should work" do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ describe 'test attribute "rating_vote_count"' 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
+ describe 'test attribute "expectations_rating"' do
87
+ it "should work" do
88
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
+ end
90
+ end
91
+
92
+ describe 'test attribute "expectations_rating_vote_count"' do
93
+ it "should work" do
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
97
+
98
+ describe 'test attribute "duration"' do
99
+ it "should work" do
100
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
101
+ end
102
+ end
103
+
104
+ describe 'test attribute "release_date"' do
105
+ it "should work" do
106
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
+ end
108
+ end
109
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::DigitalReleaseResponse
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::DigitalReleaseResponse do
19
+ let(:instance) { Kuapir::DigitalReleaseResponse.new }
20
+
21
+ describe "test an instance of DigitalReleaseResponse" do
22
+ it "should create an instance of DigitalReleaseResponse" do
23
+ expect(instance).to be_instance_of(Kuapir::DigitalReleaseResponse)
24
+ end
25
+ end
26
+ describe 'test attribute "page"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "total"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "releases"' do
39
+ it "should work" do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::DistributionResponse
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::DistributionResponse do
19
+ let(:instance) { Kuapir::DistributionResponse.new }
20
+
21
+ describe "test an instance of DistributionResponse" do
22
+ it "should create an instance of DistributionResponse" do
23
+ expect(instance).to be_instance_of(Kuapir::DistributionResponse)
24
+ end
25
+ end
26
+ describe 'test attribute "total"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "items"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::Distribution
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::Distribution do
19
+ let(:instance) { Kuapir::Distribution.new }
20
+
21
+ describe "test an instance of Distribution" do
22
+ it "should create an instance of Distribution" do
23
+ expect(instance).to be_instance_of(Kuapir::Distribution)
24
+ end
25
+ end
26
+ describe 'test attribute "type"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["LOCAL", "COUNTRY_SPECIFIC", "PREMIERE", "ALL", "WORLD_PREMIER"])
30
+ # validator.allowable_values.each do |value|
31
+ # expect { instance.type = value }.not_to raise_error
32
+ # end
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "sub_type"' do
37
+ it "should work" do
38
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["CINEMA", "DVD", "DIGITAL", "BLURAY"])
40
+ # validator.allowable_values.each do |value|
41
+ # expect { instance.sub_type = value }.not_to raise_error
42
+ # end
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "date"' do
47
+ it "should work" do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "re_release"' do
53
+ it "should work" do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "country"' do
59
+ it "should work" do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "companies"' do
65
+ it "should work" do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::Episode
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::Episode do
19
+ let(:instance) { Kuapir::Episode.new }
20
+
21
+ describe "test an instance of Episode" do
22
+ it "should create an instance of Episode" do
23
+ expect(instance).to be_instance_of(Kuapir::Episode)
24
+ end
25
+ end
26
+ describe 'test attribute "season_number"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "episode_number"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "name_ru"' do
39
+ it "should work" do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "name_en"' do
45
+ it "should work" do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "synopsis"' do
51
+ it "should work" do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "release_date"' do
57
+ it "should work" do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::FactResponse
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::FactResponse do
19
+ let(:instance) { Kuapir::FactResponse.new }
20
+
21
+ describe "test an instance of FactResponse" do
22
+ it "should create an instance of FactResponse" do
23
+ expect(instance).to be_instance_of(Kuapir::FactResponse)
24
+ end
25
+ end
26
+ describe 'test attribute "total"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "items"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::Fact
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::Fact do
19
+ let(:instance) { Kuapir::Fact.new }
20
+
21
+ describe "test an instance of Fact" do
22
+ it "should create an instance of Fact" do
23
+ expect(instance).to be_instance_of(Kuapir::Fact)
24
+ end
25
+ end
26
+ describe 'test attribute "text"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "type"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["FACT", "BLOOPER"])
36
+ # validator.allowable_values.each do |value|
37
+ # expect { instance.type = value }.not_to raise_error
38
+ # end
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "spoiler"' 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
+ end
@@ -0,0 +1,107 @@
1
+ # frozen_string_literal: true
2
+
3
+ # #Kinopoisk Unofficial API
4
+
5
+ # The version of the OpenAPI document: 2.0.1
6
+ # Contact: support@kinopoiskapiunofficial.tech
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 5.3.1
9
+ #
10
+
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
14
+
15
+ # Unit tests for Kuapir::FilmSearchByFiltersResponseItems
16
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
17
+ # Please update as you see appropriate
18
+ describe Kuapir::FilmSearchByFiltersResponseItems do
19
+ let(:instance) { Kuapir::FilmSearchByFiltersResponseItems.new }
20
+
21
+ describe "test an instance of FilmSearchByFiltersResponseItems" do
22
+ it "should create an instance of FilmSearchByFiltersResponseItems" do
23
+ expect(instance).to be_instance_of(Kuapir::FilmSearchByFiltersResponseItems)
24
+ end
25
+ end
26
+ describe 'test attribute "kinopoisk_id"' do
27
+ it "should work" do
28
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
29
+ end
30
+ end
31
+
32
+ describe 'test attribute "imdb_id"' do
33
+ it "should work" do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "name_ru"' do
39
+ it "should work" do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "name_en"' do
45
+ it "should work" do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "name_original"' do
51
+ it "should work" do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "countries"' do
57
+ it "should work" do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "genres"' do
63
+ it "should work" do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ describe 'test attribute "rating_kinopoisk"' do
69
+ it "should work" do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ describe 'test attribute "rating_imdb"' do
75
+ it "should work" do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ describe 'test attribute "year"' 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
+ describe 'test attribute "type"' do
87
+ it "should work" do
88
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["FILM", "TV_SHOW", "VIDEO", "MINI_SERIES", "TV_SERIES", "UNKNOWN"])
90
+ # validator.allowable_values.each do |value|
91
+ # expect { instance.type = value }.not_to raise_error
92
+ # end
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "poster_url"' do
97
+ it "should work" do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "poster_url_preview"' do
103
+ it "should work" do
104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ end
106
+ end
107
+ end