cloudsmith-api 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +13 -5
- data/build.json +1 -1
- data/docs/Eula.md +1 -1
- data/docs/HelmPackageUploadRequest.md +1 -0
- data/docs/HexPackageUpload.md +75 -0
- data/docs/HexPackageUploadRequest.md +10 -0
- data/docs/NestedLicensePolicy.md +1 -0
- data/docs/NestedVulnerabilityPolicy.md +1 -0
- data/docs/NestedVulnerabilityScanResults.md +1 -1
- data/docs/OrganizationPackageLicensePolicy.md +1 -0
- data/docs/OrganizationPackageLicensePolicyRequest.md +1 -0
- data/docs/OrganizationPackageLicensePolicyRequestPatch.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicy.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequest.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequestPatch.md +1 -0
- data/docs/PackagesApi.md +246 -0
- data/docs/RepositoryToken.md +1 -1
- data/docs/RepositoryTokenRefresh.md +1 -1
- data/docs/RepositoryWebhook.md +1 -1
- data/docs/StatusBasic.md +1 -1
- data/docs/SwiftPackageUpload.md +75 -0
- data/docs/SwiftPackageUploadRequest.md +11 -0
- data/docs/VulnerabilitiesApi.md +8 -8
- data/docs/VulnerabilityScanResults.md +1 -1
- data/docs/VulnerabilityScanResultsList.md +1 -1
- data/lib/cloudsmith-api/api/packages_api.rb +246 -0
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +13 -13
- data/lib/cloudsmith-api/models/eula.rb +0 -5
- data/lib/cloudsmith-api/models/helm_package_upload_request.rb +11 -1
- data/lib/cloudsmith-api/models/hex_package_upload.rb +850 -0
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +210 -0
- data/lib/cloudsmith-api/models/nested_license_policy.rb +10 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +10 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +1 -0
- data/lib/cloudsmith-api/models/organization_package_license_policy.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +13 -4
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +13 -4
- data/lib/cloudsmith-api/models/repository_token.rb +1 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +1 -0
- data/lib/cloudsmith-api/models/repository_webhook.rb +1 -0
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +855 -0
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +225 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +1 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +1 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +4 -0
- data/spec/api/packages_api_spec.rb +56 -0
- data/spec/api/vulnerabilities_api_spec.rb +3 -3
- data/spec/models/helm_package_upload_request_spec.rb +6 -0
- data/spec/models/hex_package_upload_request_spec.rb +53 -0
- data/spec/models/hex_package_upload_spec.rb +447 -0
- data/spec/models/nested_license_policy_spec.rb +6 -0
- data/spec/models/nested_vulnerability_policy_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_request_patch_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_request_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_request_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_spec.rb +6 -0
- data/spec/models/swift_package_upload_request_spec.rb +59 -0
- data/spec/models/swift_package_upload_spec.rb +447 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
- metadata +18 -2
@@ -0,0 +1,447 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API (v1)
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudsmithApi::HexPackageUpload
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HexPackageUpload' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudsmithApi::HexPackageUpload.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HexPackageUpload' do
|
31
|
+
it 'should create an instance of HexPackageUpload' do
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::HexPackageUpload)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "architectures"' 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 "cdn_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
|
+
describe 'test attribute "checksum_md5"' 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 "checksum_sha1"' 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
|
+
describe 'test attribute "checksum_sha256"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "checksum_sha512"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "dependencies_checksum_md5"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "dependencies_url"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "description"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "distro"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "distro_version"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "downloads"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "epoch"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "extension"' 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
|
+
|
119
|
+
describe 'test attribute "filename"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "files"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "format"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
describe 'test attribute "format_url"' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
describe 'test attribute "identifier_perm"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
describe 'test attribute "indexed"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
describe 'test attribute "is_downloadable"' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
describe 'test attribute "is_quarantined"' do
|
162
|
+
it 'should work' do
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
describe 'test attribute "is_sync_awaiting"' do
|
168
|
+
it 'should work' do
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
describe 'test attribute "is_sync_completed"' do
|
174
|
+
it 'should work' do
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
describe 'test attribute "is_sync_failed"' do
|
180
|
+
it 'should work' do
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
describe 'test attribute "is_sync_in_flight"' do
|
186
|
+
it 'should work' do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
describe 'test attribute "is_sync_in_progress"' do
|
192
|
+
it 'should work' do
|
193
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
describe 'test attribute "license"' do
|
198
|
+
it 'should work' do
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
describe 'test attribute "name"' do
|
204
|
+
it 'should work' do
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
describe 'test attribute "namespace"' do
|
210
|
+
it 'should work' do
|
211
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
describe 'test attribute "namespace_url"' do
|
216
|
+
it 'should work' do
|
217
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
describe 'test attribute "num_files"' do
|
222
|
+
it 'should work' do
|
223
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
describe 'test attribute "origin_repository"' do
|
228
|
+
it 'should work' do
|
229
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
describe 'test attribute "origin_repository_url"' do
|
234
|
+
it 'should work' do
|
235
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
describe 'test attribute "package_type"' do
|
240
|
+
it 'should work' do
|
241
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
describe 'test attribute "release"' do
|
246
|
+
it 'should work' do
|
247
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
describe 'test attribute "repository"' do
|
252
|
+
it 'should work' do
|
253
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
describe 'test attribute "repository_url"' do
|
258
|
+
it 'should work' do
|
259
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
describe 'test attribute "security_scan_completed_at"' do
|
264
|
+
it 'should work' do
|
265
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
describe 'test attribute "security_scan_started_at"' do
|
270
|
+
it 'should work' do
|
271
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
describe 'test attribute "security_scan_status"' do
|
276
|
+
it 'should work' do
|
277
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
278
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Awaiting Security Scan", "Security Scanning in Progress", "Scan Detected Vulnerabilities", "Scan Detected No Vulnerabilities", "Security Scanning Disabled", "Security Scanning Failed", "Security Scanning Skipped", "Security Scanning Not Supported"])
|
279
|
+
# validator.allowable_values.each do |value|
|
280
|
+
# expect { @instance.security_scan_status = value }.not_to raise_error
|
281
|
+
# end
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
describe 'test attribute "security_scan_status_updated_at"' do
|
286
|
+
it 'should work' do
|
287
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
describe 'test attribute "self_html_url"' do
|
292
|
+
it 'should work' do
|
293
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
describe 'test attribute "self_url"' do
|
298
|
+
it 'should work' do
|
299
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
describe 'test attribute "signature_url"' do
|
304
|
+
it 'should work' do
|
305
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
describe 'test attribute "size"' do
|
310
|
+
it 'should work' do
|
311
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
describe 'test attribute "slug"' do
|
316
|
+
it 'should work' do
|
317
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
describe 'test attribute "slug_perm"' do
|
322
|
+
it 'should work' do
|
323
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
describe 'test attribute "stage"' do
|
328
|
+
it 'should work' do
|
329
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
describe 'test attribute "stage_str"' do
|
334
|
+
it 'should work' do
|
335
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
describe 'test attribute "stage_updated_at"' do
|
340
|
+
it 'should work' do
|
341
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
describe 'test attribute "status"' do
|
346
|
+
it 'should work' do
|
347
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
describe 'test attribute "status_reason"' do
|
352
|
+
it 'should work' do
|
353
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
describe 'test attribute "status_str"' do
|
358
|
+
it 'should work' do
|
359
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
describe 'test attribute "status_updated_at"' do
|
364
|
+
it 'should work' do
|
365
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
describe 'test attribute "status_url"' do
|
370
|
+
it 'should work' do
|
371
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
describe 'test attribute "subtype"' do
|
376
|
+
it 'should work' do
|
377
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
describe 'test attribute "summary"' do
|
382
|
+
it 'should work' do
|
383
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
describe 'test attribute "sync_finished_at"' do
|
388
|
+
it 'should work' do
|
389
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
describe 'test attribute "sync_progress"' do
|
394
|
+
it 'should work' do
|
395
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
describe 'test attribute "tags_immutable"' do
|
400
|
+
it 'should work' do
|
401
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
describe 'test attribute "type_display"' do
|
406
|
+
it 'should work' do
|
407
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
describe 'test attribute "uploaded_at"' do
|
412
|
+
it 'should work' do
|
413
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
describe 'test attribute "uploader"' do
|
418
|
+
it 'should work' do
|
419
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
describe 'test attribute "uploader_url"' do
|
424
|
+
it 'should work' do
|
425
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
describe 'test attribute "version"' do
|
430
|
+
it 'should work' do
|
431
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
describe 'test attribute "version_orig"' do
|
436
|
+
it 'should work' do
|
437
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
describe 'test attribute "vulnerability_scan_results_url"' do
|
442
|
+
it 'should work' do
|
443
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
end
|
@@ -62,6 +62,12 @@ describe 'NestedLicensePolicy' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "package_query_string"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "slug_perm"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -72,6 +72,12 @@ describe 'NestedVulnerabilityPolicy' do
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
+
describe 'test attribute "package_query_string"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
75
81
|
describe 'test attribute "slug_perm"' do
|
76
82
|
it 'should work' do
|
77
83
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,6 +56,12 @@ describe 'OrganizationPackageLicensePolicyRequestPatch' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "package_query_string"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "spdx_identifiers"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,6 +56,12 @@ describe 'OrganizationPackageLicensePolicyRequest' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "package_query_string"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "spdx_identifiers"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'OrganizationPackageLicensePolicy' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "package_query_string"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "slug_perm"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -66,4 +66,10 @@ describe 'OrganizationPackageVulnerabilityPolicyRequestPatch' do
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
+
describe 'test attribute "package_query_string"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
69
75
|
end
|
@@ -66,4 +66,10 @@ describe 'OrganizationPackageVulnerabilityPolicyRequest' do
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
+
describe 'test attribute "package_query_string"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
69
75
|
end
|
@@ -72,6 +72,12 @@ describe 'OrganizationPackageVulnerabilityPolicy' do
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
+
describe 'test attribute "package_query_string"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
75
81
|
describe 'test attribute "slug_perm"' do
|
76
82
|
it 'should work' do
|
77
83
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API (v1)
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudsmithApi::SwiftPackageUploadRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SwiftPackageUploadRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudsmithApi::SwiftPackageUploadRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SwiftPackageUploadRequest' do
|
31
|
+
it 'should create an instance of SwiftPackageUploadRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::SwiftPackageUploadRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "package_file"' 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 "republish"' 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 "tags"' 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 "version"' 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
|