pulp_npm_client 0.1.0a4 → 0.1.0
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.
- checksums.yaml +4 -4
- data/README.md +24 -10
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentPackagesApi.md +126 -64
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsNpmApi.md +362 -93
- data/docs/NpmNpmDistribution.md +18 -15
- data/docs/NpmNpmDistributionResponse.md +30 -21
- data/docs/NpmNpmRemote.md +48 -47
- data/docs/NpmNpmRemoteResponse.md +48 -43
- data/docs/NpmNpmRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/NpmNpmRepository.md +16 -15
- data/docs/NpmNpmRepositoryResponse.md +28 -23
- data/docs/NpmPackageResponse.md +22 -17
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatednpmNpmDistributionResponseList.md +14 -13
- data/docs/PaginatednpmNpmRemoteResponseList.md +14 -13
- data/docs/PaginatednpmNpmRepositoryResponseList.md +14 -13
- data/docs/PaginatednpmPackageResponseList.md +14 -13
- data/docs/PatchednpmNpmDistribution.md +18 -15
- data/docs/PatchednpmNpmRemote.md +48 -47
- data/docs/PatchednpmNpmRepository.md +16 -15
- data/docs/PolicyEnum.md +4 -5
- data/docs/RemotesNpmApi.md +364 -99
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesNpmApi.md +429 -110
- data/docs/RepositoriesNpmVersionsApi.md +156 -80
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- data/docs/RepositoryVersionResponse.md +22 -17
- data/docs/SetLabel.md +20 -0
- data/docs/SetLabelResponse.md +20 -0
- data/docs/UnsetLabel.md +18 -0
- data/docs/UnsetLabelResponse.md +20 -0
- data/lib/pulp_npm_client/api/content_packages_api.rb +72 -44
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +243 -47
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +247 -57
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +283 -55
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +71 -52
- data/lib/pulp_npm_client/api_client.rb +137 -102
- data/lib/pulp_npm_client/api_error.rb +2 -1
- data/lib/pulp_npm_client/configuration.rb +163 -22
- data/lib/pulp_npm_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_npm_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_npm_client/models/npm_npm_distribution.rb +51 -25
- data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +83 -27
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +61 -25
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +99 -41
- data/lib/pulp_npm_client/models/npm_npm_remote_response_hidden_fields_inner.rb +237 -0
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +37 -25
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +59 -27
- data/lib/pulp_npm_client/models/npm_package_response.rb +58 -24
- data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +44 -22
- data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +57 -27
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +67 -27
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +40 -26
- data/lib/pulp_npm_client/models/policy_enum.rb +8 -4
- data/lib/pulp_npm_client/models/repair.rb +30 -22
- data/lib/pulp_npm_client/models/repository_add_remove_content.rb +33 -25
- data/lib/pulp_npm_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_npm_client/models/repository_version_response.rb +53 -25
- data/lib/pulp_npm_client/models/set_label.rb +264 -0
- data/lib/pulp_npm_client/models/set_label_response.rb +255 -0
- data/lib/pulp_npm_client/models/unset_label.rb +252 -0
- data/lib/pulp_npm_client/models/unset_label_response.rb +252 -0
- data/lib/pulp_npm_client/version.rb +2 -2
- data/lib/pulp_npm_client.rb +6 -3
- data/pulp_npm_client.gemspec +10 -7
- data/spec/api/content_packages_api_spec.rb +22 -16
- data/spec/api/distributions_npm_api_spec.rb +51 -14
- data/spec/api/remotes_npm_api_spec.rb +54 -19
- data/spec/api/repositories_npm_api_spec.rb +60 -15
- data/spec/api/repositories_npm_versions_api_spec.rb +23 -19
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/npm_npm_distribution_response_spec.rb +38 -19
- data/spec/models/npm_npm_distribution_spec.rb +17 -16
- data/spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb +42 -0
- data/spec/models/npm_npm_remote_response_spec.rb +42 -35
- data/spec/models/npm_npm_remote_spec.rb +27 -32
- data/spec/models/npm_npm_repository_response_spec.rb +27 -20
- data/spec/models/npm_npm_repository_spec.rb +11 -16
- data/spec/models/npm_package_response_spec.rb +24 -17
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_npm_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_npm_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_npm_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatednpm_package_response_list_spec.rb +10 -15
- data/spec/models/patchednpm_npm_distribution_spec.rb +17 -16
- data/spec/models/patchednpm_npm_remote_spec.rb +27 -32
- data/spec/models/patchednpm_npm_repository_spec.rb +11 -16
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_sync_url_spec.rb +8 -13
- data/spec/models/repository_version_response_spec.rb +24 -17
- data/spec/models/set_label_response_spec.rb +42 -0
- data/spec/models/set_label_spec.rb +42 -0
- data/spec/models/unset_label_response_spec.rb +42 -0
- data/spec/models/unset_label_spec.rb +36 -0
- data/spec/spec_helper.rb +1 -1
- metadata +94 -59
- data/docs/NpmPackage.md +0 -29
- data/docs/PulpNpmPackagesApi.md +0 -60
- data/git_push.sh +0 -58
- data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +0 -86
- data/lib/pulp_npm_client/models/npm_package.rb +0 -337
- data/spec/api/pulp_npm_packages_api_spec.rb +0 -48
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/npm_package_spec.rb +0 -77
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,72 +17,79 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::NpmNpmRepositoryResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::NpmNpmRepositoryResponse.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::NpmNpmRepositoryResponse do
|
|
21
|
+
let(:instance) { PulpNpmClient::NpmNpmRepositoryResponse.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of NpmNpmRepositoryResponse' do
|
|
31
24
|
it 'should create an instance of NpmNpmRepositoryResponse' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmNpmRepositoryResponse)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "pulp_href"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "prn"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
39
|
end
|
|
39
40
|
end
|
|
40
41
|
|
|
41
42
|
describe 'test attribute "pulp_created"' do
|
|
42
43
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
51
|
end
|
|
45
52
|
end
|
|
46
53
|
|
|
47
54
|
describe 'test attribute "versions_href"' do
|
|
48
55
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
57
|
end
|
|
51
58
|
end
|
|
52
59
|
|
|
53
60
|
describe 'test attribute "pulp_labels"' do
|
|
54
61
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
63
|
end
|
|
57
64
|
end
|
|
58
65
|
|
|
59
66
|
describe 'test attribute "latest_version_href"' do
|
|
60
67
|
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
62
69
|
end
|
|
63
70
|
end
|
|
64
71
|
|
|
65
72
|
describe 'test attribute "name"' do
|
|
66
73
|
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
68
75
|
end
|
|
69
76
|
end
|
|
70
77
|
|
|
71
78
|
describe 'test attribute "description"' do
|
|
72
79
|
it 'should work' do
|
|
73
|
-
# assertion here. ref: https://
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
74
81
|
end
|
|
75
82
|
end
|
|
76
83
|
|
|
77
84
|
describe 'test attribute "retain_repo_versions"' do
|
|
78
85
|
it 'should work' do
|
|
79
|
-
# assertion here. ref: https://
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
80
87
|
end
|
|
81
88
|
end
|
|
82
89
|
|
|
83
90
|
describe 'test attribute "remote"' do
|
|
84
91
|
it 'should work' do
|
|
85
|
-
# assertion here. ref: https://
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
86
93
|
end
|
|
87
94
|
end
|
|
88
95
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,48 +17,43 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::NpmNpmRepository
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::NpmNpmRepository.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::NpmNpmRepository do
|
|
21
|
+
let(:instance) { PulpNpmClient::NpmNpmRepository.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of NpmNpmRepository' do
|
|
31
24
|
it 'should create an instance of NpmNpmRepository' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmNpmRepository)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "pulp_labels"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
describe 'test attribute "name"' do
|
|
42
37
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
39
|
end
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
describe 'test attribute "description"' do
|
|
48
43
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
45
|
end
|
|
51
46
|
end
|
|
52
47
|
|
|
53
48
|
describe 'test attribute "retain_repo_versions"' do
|
|
54
49
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
51
|
end
|
|
57
52
|
end
|
|
58
53
|
|
|
59
54
|
describe 'test attribute "remote"' do
|
|
60
55
|
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
62
57
|
end
|
|
63
58
|
end
|
|
64
59
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,54 +17,61 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::NpmPackageResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::NpmPackageResponse.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::NpmPackageResponse do
|
|
21
|
+
let(:instance) { PulpNpmClient::NpmPackageResponse.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of NpmPackageResponse' do
|
|
31
24
|
it 'should create an instance of NpmPackageResponse' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::NpmPackageResponse)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "pulp_href"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "prn"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
39
|
end
|
|
39
40
|
end
|
|
40
41
|
|
|
41
42
|
describe 'test attribute "pulp_created"' do
|
|
42
43
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
51
|
end
|
|
45
52
|
end
|
|
46
53
|
|
|
47
54
|
describe 'test attribute "artifact"' do
|
|
48
55
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
57
|
end
|
|
51
58
|
end
|
|
52
59
|
|
|
53
60
|
describe 'test attribute "relative_path"' do
|
|
54
61
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
63
|
end
|
|
57
64
|
end
|
|
58
65
|
|
|
59
66
|
describe 'test attribute "name"' do
|
|
60
67
|
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
62
69
|
end
|
|
63
70
|
end
|
|
64
71
|
|
|
65
72
|
describe 'test attribute "version"' do
|
|
66
73
|
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
68
75
|
end
|
|
69
76
|
end
|
|
70
77
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,42 +17,37 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::PaginatedRepositoryVersionResponseList
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::PaginatedRepositoryVersionResponseList.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::PaginatedRepositoryVersionResponseList do
|
|
21
|
+
let(:instance) { PulpNpmClient::PaginatedRepositoryVersionResponseList.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of PaginatedRepositoryVersionResponseList' do
|
|
31
24
|
it 'should create an instance of PaginatedRepositoryVersionResponseList' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::PaginatedRepositoryVersionResponseList)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "count"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
describe 'test attribute "_next"' do
|
|
42
37
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
39
|
end
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
describe 'test attribute "previous"' do
|
|
48
43
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
45
|
end
|
|
51
46
|
end
|
|
52
47
|
|
|
53
48
|
describe 'test attribute "results"' do
|
|
54
49
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
51
|
end
|
|
57
52
|
end
|
|
58
53
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,42 +17,37 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::PaginatednpmNpmDistributionResponseList
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::PaginatednpmNpmDistributionResponseList.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::PaginatednpmNpmDistributionResponseList do
|
|
21
|
+
let(:instance) { PulpNpmClient::PaginatednpmNpmDistributionResponseList.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of PaginatednpmNpmDistributionResponseList' do
|
|
31
24
|
it 'should create an instance of PaginatednpmNpmDistributionResponseList' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::PaginatednpmNpmDistributionResponseList)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "count"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
describe 'test attribute "_next"' do
|
|
42
37
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
39
|
end
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
describe 'test attribute "previous"' do
|
|
48
43
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
45
|
end
|
|
51
46
|
end
|
|
52
47
|
|
|
53
48
|
describe 'test attribute "results"' do
|
|
54
49
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
51
|
end
|
|
57
52
|
end
|
|
58
53
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,42 +17,37 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::PaginatednpmNpmRemoteResponseList
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::PaginatednpmNpmRemoteResponseList.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::PaginatednpmNpmRemoteResponseList do
|
|
21
|
+
let(:instance) { PulpNpmClient::PaginatednpmNpmRemoteResponseList.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of PaginatednpmNpmRemoteResponseList' do
|
|
31
24
|
it 'should create an instance of PaginatednpmNpmRemoteResponseList' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::PaginatednpmNpmRemoteResponseList)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "count"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
describe 'test attribute "_next"' do
|
|
42
37
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
39
|
end
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
describe 'test attribute "previous"' do
|
|
48
43
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
45
|
end
|
|
51
46
|
end
|
|
52
47
|
|
|
53
48
|
describe 'test attribute "results"' do
|
|
54
49
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
51
|
end
|
|
57
52
|
end
|
|
58
53
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,42 +17,37 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::PaginatednpmNpmRepositoryResponseList
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::PaginatednpmNpmRepositoryResponseList.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::PaginatednpmNpmRepositoryResponseList do
|
|
21
|
+
let(:instance) { PulpNpmClient::PaginatednpmNpmRepositoryResponseList.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of PaginatednpmNpmRepositoryResponseList' do
|
|
31
24
|
it 'should create an instance of PaginatednpmNpmRepositoryResponseList' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::PaginatednpmNpmRepositoryResponseList)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "count"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
describe 'test attribute "_next"' do
|
|
42
37
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
39
|
end
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
describe 'test attribute "previous"' do
|
|
48
43
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
45
|
end
|
|
51
46
|
end
|
|
52
47
|
|
|
53
48
|
describe 'test attribute "results"' do
|
|
54
49
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
51
|
end
|
|
57
52
|
end
|
|
58
53
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,42 +17,37 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::PaginatednpmPackageResponseList
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::PaginatednpmPackageResponseList.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::PaginatednpmPackageResponseList do
|
|
21
|
+
let(:instance) { PulpNpmClient::PaginatednpmPackageResponseList.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of PaginatednpmPackageResponseList' do
|
|
31
24
|
it 'should create an instance of PaginatednpmPackageResponseList' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::PaginatednpmPackageResponseList)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "count"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
describe 'test attribute "_next"' do
|
|
42
37
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
39
|
end
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
describe 'test attribute "previous"' do
|
|
48
43
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
45
|
end
|
|
51
46
|
end
|
|
52
47
|
|
|
53
48
|
describe 'test attribute "results"' do
|
|
54
49
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
51
|
end
|
|
57
52
|
end
|
|
58
53
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.10.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,48 +17,49 @@ require 'date'
|
|
|
17
17
|
# Unit tests for PulpNpmClient::PatchednpmNpmDistribution
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = PulpNpmClient::PatchednpmNpmDistribution.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe PulpNpmClient::PatchednpmNpmDistribution do
|
|
21
|
+
let(:instance) { PulpNpmClient::PatchednpmNpmDistribution.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of PatchednpmNpmDistribution' do
|
|
31
24
|
it 'should create an instance of PatchednpmNpmDistribution' do
|
|
32
|
-
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpNpmClient::PatchednpmNpmDistribution)
|
|
33
27
|
end
|
|
34
28
|
end
|
|
29
|
+
|
|
35
30
|
describe 'test attribute "base_path"' do
|
|
36
31
|
it 'should work' do
|
|
37
|
-
# assertion here. ref: https://
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
38
33
|
end
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
describe 'test attribute "content_guard"' do
|
|
42
37
|
it 'should work' do
|
|
43
|
-
# assertion here. ref: https://
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "hidden"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
45
|
end
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
describe 'test attribute "pulp_labels"' do
|
|
48
49
|
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
50
51
|
end
|
|
51
52
|
end
|
|
52
53
|
|
|
53
54
|
describe 'test attribute "name"' do
|
|
54
55
|
it 'should work' do
|
|
55
|
-
# assertion here. ref: https://
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
57
|
end
|
|
57
58
|
end
|
|
58
59
|
|
|
59
60
|
describe 'test attribute "repository"' do
|
|
60
61
|
it 'should work' do
|
|
61
|
-
# assertion here. ref: https://
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
62
63
|
end
|
|
63
64
|
end
|
|
64
65
|
|