pulp_npm_client 0.1.0a4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -10
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentPackagesApi.md +126 -64
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsNpmApi.md +362 -93
  7. data/docs/NpmNpmDistribution.md +18 -15
  8. data/docs/NpmNpmDistributionResponse.md +30 -21
  9. data/docs/NpmNpmRemote.md +48 -47
  10. data/docs/NpmNpmRemoteResponse.md +48 -43
  11. data/docs/NpmNpmRemoteResponseHiddenFieldsInner.md +20 -0
  12. data/docs/NpmNpmRepository.md +16 -15
  13. data/docs/NpmNpmRepositoryResponse.md +28 -23
  14. data/docs/NpmPackageResponse.md +22 -17
  15. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  16. data/docs/PaginatednpmNpmDistributionResponseList.md +14 -13
  17. data/docs/PaginatednpmNpmRemoteResponseList.md +14 -13
  18. data/docs/PaginatednpmNpmRepositoryResponseList.md +14 -13
  19. data/docs/PaginatednpmPackageResponseList.md +14 -13
  20. data/docs/PatchednpmNpmDistribution.md +18 -15
  21. data/docs/PatchednpmNpmRemote.md +48 -47
  22. data/docs/PatchednpmNpmRepository.md +16 -15
  23. data/docs/PolicyEnum.md +4 -5
  24. data/docs/RemotesNpmApi.md +364 -99
  25. data/docs/Repair.md +8 -7
  26. data/docs/RepositoriesNpmApi.md +429 -110
  27. data/docs/RepositoriesNpmVersionsApi.md +156 -80
  28. data/docs/RepositoryAddRemoveContent.md +12 -11
  29. data/docs/RepositorySyncURL.md +10 -9
  30. data/docs/RepositoryVersionResponse.md +22 -17
  31. data/docs/SetLabel.md +20 -0
  32. data/docs/SetLabelResponse.md +20 -0
  33. data/docs/UnsetLabel.md +18 -0
  34. data/docs/UnsetLabelResponse.md +20 -0
  35. data/lib/pulp_npm_client/api/content_packages_api.rb +72 -44
  36. data/lib/pulp_npm_client/api/distributions_npm_api.rb +243 -47
  37. data/lib/pulp_npm_client/api/remotes_npm_api.rb +247 -57
  38. data/lib/pulp_npm_client/api/repositories_npm_api.rb +283 -55
  39. data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +71 -52
  40. data/lib/pulp_npm_client/api_client.rb +137 -102
  41. data/lib/pulp_npm_client/api_error.rb +2 -1
  42. data/lib/pulp_npm_client/configuration.rb +163 -22
  43. data/lib/pulp_npm_client/models/async_operation_response.rb +32 -22
  44. data/lib/pulp_npm_client/models/content_summary_response.rb +36 -22
  45. data/lib/pulp_npm_client/models/npm_npm_distribution.rb +51 -25
  46. data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +83 -27
  47. data/lib/pulp_npm_client/models/npm_npm_remote.rb +61 -25
  48. data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +99 -41
  49. data/lib/pulp_npm_client/models/npm_npm_remote_response_hidden_fields_inner.rb +237 -0
  50. data/lib/pulp_npm_client/models/npm_npm_repository.rb +37 -25
  51. data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +59 -27
  52. data/lib/pulp_npm_client/models/npm_package_response.rb +58 -24
  53. data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +44 -22
  54. data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +44 -22
  55. data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +44 -22
  56. data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +44 -22
  57. data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +44 -22
  58. data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +57 -27
  59. data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +67 -27
  60. data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +40 -26
  61. data/lib/pulp_npm_client/models/policy_enum.rb +8 -4
  62. data/lib/pulp_npm_client/models/repair.rb +30 -22
  63. data/lib/pulp_npm_client/models/repository_add_remove_content.rb +33 -25
  64. data/lib/pulp_npm_client/models/repository_sync_url.rb +30 -22
  65. data/lib/pulp_npm_client/models/repository_version_response.rb +53 -25
  66. data/lib/pulp_npm_client/models/set_label.rb +264 -0
  67. data/lib/pulp_npm_client/models/set_label_response.rb +255 -0
  68. data/lib/pulp_npm_client/models/unset_label.rb +252 -0
  69. data/lib/pulp_npm_client/models/unset_label_response.rb +252 -0
  70. data/lib/pulp_npm_client/version.rb +2 -2
  71. data/lib/pulp_npm_client.rb +6 -3
  72. data/pulp_npm_client.gemspec +10 -7
  73. data/spec/api/content_packages_api_spec.rb +22 -16
  74. data/spec/api/distributions_npm_api_spec.rb +51 -14
  75. data/spec/api/remotes_npm_api_spec.rb +54 -19
  76. data/spec/api/repositories_npm_api_spec.rb +60 -15
  77. data/spec/api/repositories_npm_versions_api_spec.rb +23 -19
  78. data/spec/models/async_operation_response_spec.rb +7 -12
  79. data/spec/models/content_summary_response_spec.rb +9 -14
  80. data/spec/models/npm_npm_distribution_response_spec.rb +38 -19
  81. data/spec/models/npm_npm_distribution_spec.rb +17 -16
  82. data/spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb +42 -0
  83. data/spec/models/npm_npm_remote_response_spec.rb +42 -35
  84. data/spec/models/npm_npm_remote_spec.rb +27 -32
  85. data/spec/models/npm_npm_repository_response_spec.rb +27 -20
  86. data/spec/models/npm_npm_repository_spec.rb +11 -16
  87. data/spec/models/npm_package_response_spec.rb +24 -17
  88. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  89. data/spec/models/paginatednpm_npm_distribution_response_list_spec.rb +10 -15
  90. data/spec/models/paginatednpm_npm_remote_response_list_spec.rb +10 -15
  91. data/spec/models/paginatednpm_npm_repository_response_list_spec.rb +10 -15
  92. data/spec/models/paginatednpm_package_response_list_spec.rb +10 -15
  93. data/spec/models/patchednpm_npm_distribution_spec.rb +17 -16
  94. data/spec/models/patchednpm_npm_remote_spec.rb +27 -32
  95. data/spec/models/patchednpm_npm_repository_spec.rb +11 -16
  96. data/spec/models/policy_enum_spec.rb +6 -11
  97. data/spec/models/repair_spec.rb +7 -12
  98. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  99. data/spec/models/repository_sync_url_spec.rb +8 -13
  100. data/spec/models/repository_version_response_spec.rb +24 -17
  101. data/spec/models/set_label_response_spec.rb +42 -0
  102. data/spec/models/set_label_spec.rb +42 -0
  103. data/spec/models/unset_label_response_spec.rb +42 -0
  104. data/spec/models/unset_label_spec.rb +36 -0
  105. data/spec/spec_helper.rb +1 -1
  106. metadata +94 -59
  107. data/docs/NpmPackage.md +0 -29
  108. data/docs/PulpNpmPackagesApi.md +0 -60
  109. data/git_push.sh +0 -58
  110. data/lib/pulp_npm_client/api/pulp_npm_packages_api.rb +0 -86
  111. data/lib/pulp_npm_client/models/npm_package.rb +0 -337
  112. data/spec/api/pulp_npm_packages_api_spec.rb +0 -48
  113. data/spec/api_client_spec.rb +0 -188
  114. data/spec/configuration_spec.rb +0 -42
  115. 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
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -17,144 +17,139 @@ require 'date'
17
17
  # Unit tests for PulpNpmClient::PatchednpmNpmRemote
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'PatchednpmNpmRemote' do
21
- before do
22
- # run before each test
23
- @instance = PulpNpmClient::PatchednpmNpmRemote.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
20
+ describe PulpNpmClient::PatchednpmNpmRemote do
21
+ let(:instance) { PulpNpmClient::PatchednpmNpmRemote.new }
29
22
 
30
23
  describe 'test an instance of PatchednpmNpmRemote' do
31
24
  it 'should create an instance of PatchednpmNpmRemote' do
32
- expect(@instance).to be_instance_of(PulpNpmClient::PatchednpmNpmRemote)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::PatchednpmNpmRemote)
33
27
  end
34
28
  end
29
+
35
30
  describe 'test attribute "name"' do
36
31
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "url"' do
42
37
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "ca_cert"' do
48
43
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "client_cert"' do
54
49
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "client_key"' do
60
55
  it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
62
57
  end
63
58
  end
64
59
 
65
60
  describe 'test attribute "tls_validation"' do
66
61
  it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
63
  end
69
64
  end
70
65
 
71
66
  describe 'test attribute "proxy_url"' do
72
67
  it 'should work' do
73
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
74
69
  end
75
70
  end
76
71
 
77
72
  describe 'test attribute "proxy_username"' do
78
73
  it 'should work' do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
80
75
  end
81
76
  end
82
77
 
83
78
  describe 'test attribute "proxy_password"' do
84
79
  it 'should work' do
85
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
86
81
  end
87
82
  end
88
83
 
89
84
  describe 'test attribute "username"' do
90
85
  it 'should work' do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
92
87
  end
93
88
  end
94
89
 
95
90
  describe 'test attribute "password"' do
96
91
  it 'should work' do
97
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
98
93
  end
99
94
  end
100
95
 
101
96
  describe 'test attribute "pulp_labels"' do
102
97
  it 'should work' do
103
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
104
99
  end
105
100
  end
106
101
 
107
102
  describe 'test attribute "download_concurrency"' do
108
103
  it 'should work' do
109
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
110
105
  end
111
106
  end
112
107
 
113
108
  describe 'test attribute "max_retries"' do
114
109
  it 'should work' do
115
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
116
111
  end
117
112
  end
118
113
 
119
114
  describe 'test attribute "policy"' do
120
115
  it 'should work' do
121
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
122
117
  end
123
118
  end
124
119
 
125
120
  describe 'test attribute "total_timeout"' do
126
121
  it 'should work' do
127
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
128
123
  end
129
124
  end
130
125
 
131
126
  describe 'test attribute "connect_timeout"' do
132
127
  it 'should work' do
133
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
134
129
  end
135
130
  end
136
131
 
137
132
  describe 'test attribute "sock_connect_timeout"' do
138
133
  it 'should work' do
139
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
140
135
  end
141
136
  end
142
137
 
143
138
  describe 'test attribute "sock_read_timeout"' do
144
139
  it 'should work' do
145
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
146
141
  end
147
142
  end
148
143
 
149
144
  describe 'test attribute "headers"' do
150
145
  it 'should work' do
151
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
152
147
  end
153
148
  end
154
149
 
155
150
  describe 'test attribute "rate_limit"' do
156
151
  it 'should work' do
157
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
158
153
  end
159
154
  end
160
155
 
@@ -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
- OpenAPI Generator version: 4.3.1
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::PatchednpmNpmRepository
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'PatchednpmNpmRepository' do
21
- before do
22
- # run before each test
23
- @instance = PulpNpmClient::PatchednpmNpmRepository.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
20
+ describe PulpNpmClient::PatchednpmNpmRepository do
21
+ let(:instance) { PulpNpmClient::PatchednpmNpmRepository.new }
29
22
 
30
23
  describe 'test an instance of PatchednpmNpmRepository' do
31
24
  it 'should create an instance of PatchednpmNpmRepository' do
32
- expect(@instance).to be_instance_of(PulpNpmClient::PatchednpmNpmRepository)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::PatchednpmNpmRepository)
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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -17,19 +17,14 @@ require 'date'
17
17
  # Unit tests for PulpNpmClient::PolicyEnum
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'PolicyEnum' do
21
- before do
22
- # run before each test
23
- @instance = PulpNpmClient::PolicyEnum.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
20
+ describe PulpNpmClient::PolicyEnum do
21
+ let(:instance) { PulpNpmClient::PolicyEnum.new }
29
22
 
30
23
  describe 'test an instance of PolicyEnum' do
31
24
  it 'should create an instance of PolicyEnum' do
32
- expect(@instance).to be_instance_of(PulpNpmClient::PolicyEnum)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::PolicyEnum)
33
27
  end
34
28
  end
29
+
35
30
  end
@@ -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
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -17,24 +17,19 @@ require 'date'
17
17
  # Unit tests for PulpNpmClient::Repair
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'Repair' do
21
- before do
22
- # run before each test
23
- @instance = PulpNpmClient::Repair.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
20
+ describe PulpNpmClient::Repair do
21
+ let(:instance) { PulpNpmClient::Repair.new }
29
22
 
30
23
  describe 'test an instance of Repair' do
31
24
  it 'should create an instance of Repair' do
32
- expect(@instance).to be_instance_of(PulpNpmClient::Repair)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::Repair)
33
27
  end
34
28
  end
29
+
35
30
  describe 'test attribute "verify_checksums"' do
36
31
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
38
33
  end
39
34
  end
40
35
 
@@ -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
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -17,36 +17,31 @@ require 'date'
17
17
  # Unit tests for PulpNpmClient::RepositoryAddRemoveContent
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'RepositoryAddRemoveContent' do
21
- before do
22
- # run before each test
23
- @instance = PulpNpmClient::RepositoryAddRemoveContent.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
20
+ describe PulpNpmClient::RepositoryAddRemoveContent do
21
+ let(:instance) { PulpNpmClient::RepositoryAddRemoveContent.new }
29
22
 
30
23
  describe 'test an instance of RepositoryAddRemoveContent' do
31
24
  it 'should create an instance of RepositoryAddRemoveContent' do
32
- expect(@instance).to be_instance_of(PulpNpmClient::RepositoryAddRemoveContent)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::RepositoryAddRemoveContent)
33
27
  end
34
28
  end
29
+
35
30
  describe 'test attribute "add_content_units"' do
36
31
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "remove_content_units"' do
42
37
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "base_version"' do
48
43
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
50
45
  end
51
46
  end
52
47
 
@@ -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
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -17,30 +17,25 @@ require 'date'
17
17
  # Unit tests for PulpNpmClient::RepositorySyncURL
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'RepositorySyncURL' do
21
- before do
22
- # run before each test
23
- @instance = PulpNpmClient::RepositorySyncURL.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
20
+ describe PulpNpmClient::RepositorySyncURL do
21
+ let(:instance) { PulpNpmClient::RepositorySyncURL.new }
29
22
 
30
23
  describe 'test an instance of RepositorySyncURL' do
31
24
  it 'should create an instance of RepositorySyncURL' do
32
- expect(@instance).to be_instance_of(PulpNpmClient::RepositorySyncURL)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::RepositorySyncURL)
33
27
  end
34
28
  end
29
+
35
30
  describe 'test attribute "remote"' do
36
31
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "mirror"' do
42
37
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
39
  end
45
40
  end
46
41
 
@@ -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
- OpenAPI Generator version: 4.3.1
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::RepositoryVersionResponse
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'RepositoryVersionResponse' do
21
- before do
22
- # run before each test
23
- @instance = PulpNpmClient::RepositoryVersionResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
20
+ describe PulpNpmClient::RepositoryVersionResponse do
21
+ let(:instance) { PulpNpmClient::RepositoryVersionResponse.new }
29
22
 
30
23
  describe 'test an instance of RepositoryVersionResponse' do
31
24
  it 'should create an instance of RepositoryVersionResponse' do
32
- expect(@instance).to be_instance_of(PulpNpmClient::RepositoryVersionResponse)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::RepositoryVersionResponse)
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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "number"' do
48
55
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "repository"' do
54
61
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "base_version"' do
60
67
  it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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 "content_summary"' do
66
73
  it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
75
  end
69
76
  end
70
77
 
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpNpmClient::SetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpNpmClient::SetLabelResponse do
21
+ let(:instance) { PulpNpmClient::SetLabelResponse.new }
22
+
23
+ describe 'test an instance of SetLabelResponse' do
24
+ it 'should create an instance of SetLabelResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::SetLabelResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "key"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "value"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpNpmClient::SetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpNpmClient::SetLabel do
21
+ let(:instance) { PulpNpmClient::SetLabel.new }
22
+
23
+ describe 'test an instance of SetLabel' do
24
+ it 'should create an instance of SetLabel' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::SetLabel)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "key"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "value"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpNpmClient::UnsetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpNpmClient::UnsetLabelResponse do
21
+ let(:instance) { PulpNpmClient::UnsetLabelResponse.new }
22
+
23
+ describe 'test an instance of UnsetLabelResponse' do
24
+ it 'should create an instance of UnsetLabelResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::UnsetLabelResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "key"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "value"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end