pulp_python_client 3.12.4 → 3.13.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 +17 -16
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentPackagesApi.md +170 -120
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsPypiApi.md +385 -182
- data/docs/ExcludePlatformsEnum.md +4 -5
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PackageMetadataResponse.md +14 -13
- data/docs/PackageTypesEnum.md +4 -5
- data/docs/PackageUploadTaskResponse.md +12 -11
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedpythonPythonDistributionResponseList.md +14 -13
- data/docs/PaginatedpythonPythonPackageContentResponseList.md +14 -13
- data/docs/PaginatedpythonPythonPublicationResponseList.md +14 -13
- data/docs/PaginatedpythonPythonRemoteResponseList.md +14 -13
- data/docs/PaginatedpythonPythonRepositoryResponseList.md +14 -13
- data/docs/PatchedpythonPythonDistribution.md +24 -23
- data/docs/PatchedpythonPythonRemote.md +60 -59
- data/docs/PatchedpythonPythonRepository.md +18 -17
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsPypiApi.md +267 -130
- data/docs/PypiApi.md +33 -17
- data/docs/PypiLegacyApi.md +34 -18
- data/docs/PypiMetadataApi.md +34 -18
- data/docs/PypiSimpleApi.md +95 -45
- data/docs/PythonPythonDistribution.md +24 -23
- data/docs/PythonPythonDistributionResponse.md +36 -35
- data/docs/PythonPythonPackageContentResponse.md +70 -69
- data/docs/PythonPythonPublication.md +10 -9
- data/docs/PythonPythonPublicationResponse.md +20 -19
- data/docs/PythonPythonRemote.md +60 -59
- data/docs/PythonPythonRemoteResponse.md +60 -59
- data/docs/PythonPythonRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/PythonPythonRepository.md +18 -17
- data/docs/PythonPythonRepositoryResponse.md +30 -29
- data/docs/RemotesPythonApi.md +420 -198
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesPythonApi.md +444 -207
- data/docs/RepositoriesPythonVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SummaryResponse.md +12 -11
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_python_client/api/content_packages_api.rb +33 -27
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +89 -56
- data/lib/pulp_python_client/api/publications_pypi_api.rb +67 -47
- data/lib/pulp_python_client/api/pypi_api.rb +6 -5
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +11 -7
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +6 -5
- data/lib/pulp_python_client/api/pypi_simple_api.rb +19 -13
- data/lib/pulp_python_client/api/remotes_python_api.rb +113 -73
- data/lib/pulp_python_client/api/repositories_python_api.rb +107 -66
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +40 -30
- data/lib/pulp_python_client/api_client.rb +137 -102
- data/lib/pulp_python_client/api_error.rb +2 -1
- data/lib/pulp_python_client/configuration.rb +162 -21
- data/lib/pulp_python_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_python_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_python_client/models/exclude_platforms_enum.rb +8 -4
- data/lib/pulp_python_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_python_client/models/nested_role.rb +32 -22
- data/lib/pulp_python_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_python_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_python_client/models/package_metadata_response.rb +44 -40
- data/lib/pulp_python_client/models/package_types_enum.rb +8 -4
- data/lib/pulp_python_client/models/package_upload_task_response.rb +37 -23
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +34 -22
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +40 -24
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +62 -24
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +35 -23
- data/lib/pulp_python_client/models/policy_enum.rb +8 -4
- data/lib/pulp_python_client/models/python_python_distribution.rb +34 -22
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +36 -24
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +44 -30
- data/lib/pulp_python_client/models/python_python_publication.rb +30 -22
- data/lib/pulp_python_client/models/python_python_publication_response.rb +32 -24
- data/lib/pulp_python_client/models/python_python_remote.rb +56 -22
- data/lib/pulp_python_client/models/python_python_remote_response.rb +59 -25
- data/lib/pulp_python_client/models/{python_python_remote_response_hidden_fields.rb → python_python_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_python_client/models/python_python_repository.rb +32 -22
- data/lib/pulp_python_client/models/python_python_repository_response.rb +34 -24
- data/lib/pulp_python_client/models/repair.rb +30 -22
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_python_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_python_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_python_client/models/set_label.rb +34 -22
- data/lib/pulp_python_client/models/set_label_response.rb +34 -22
- data/lib/pulp_python_client/models/summary_response.rb +36 -22
- data/lib/pulp_python_client/models/unset_label.rb +32 -22
- data/lib/pulp_python_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_python_client/version.rb +2 -2
- data/lib/pulp_python_client.rb +2 -5
- data/pulp_python_client.gemspec +9 -6
- data/spec/api/content_packages_api_spec.rb +10 -10
- data/spec/api/distributions_pypi_api_spec.rb +13 -13
- data/spec/api/publications_pypi_api_spec.rb +16 -15
- data/spec/api/pypi_api_spec.rb +2 -2
- data/spec/api/pypi_legacy_api_spec.rb +2 -2
- data/spec/api/pypi_metadata_api_spec.rb +2 -2
- data/spec/api/pypi_simple_api_spec.rb +4 -4
- data/spec/api/remotes_python_api_spec.rb +21 -20
- data/spec/api/repositories_python_api_spec.rb +15 -15
- data/spec/api/repositories_python_versions_api_spec.rb +12 -11
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/exclude_platforms_enum_spec.rb +6 -11
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/package_metadata_response_spec.rb +10 -15
- data/spec/models/package_types_enum_spec.rb +6 -11
- data/spec/models/package_upload_task_response_spec.rb +9 -14
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_publication_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedpython_python_distribution_spec.rb +15 -20
- data/spec/models/patchedpython_python_remote_spec.rb +33 -38
- data/spec/models/patchedpython_python_repository_spec.rb +12 -17
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/python_python_distribution_response_spec.rb +21 -26
- data/spec/models/python_python_distribution_spec.rb +15 -20
- data/spec/models/python_python_package_content_response_spec.rb +38 -43
- data/spec/models/python_python_publication_response_spec.rb +13 -18
- data/spec/models/python_python_publication_spec.rb +8 -13
- data/spec/models/{python_python_remote_response_hidden_fields_spec.rb → python_python_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/python_python_remote_response_spec.rb +33 -38
- data/spec/models/python_python_remote_spec.rb +33 -38
- data/spec/models/python_python_repository_response_spec.rb +18 -23
- data/spec/models/python_python_repository_spec.rb +12 -17
- 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 +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/summary_response_spec.rb +9 -14
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +78 -66
- data/docs/PackageUpload.md +0 -21
- data/docs/PythonBanderRemote.md +0 -21
- data/docs/PythonPythonPackageContent.md +0 -71
- data/docs/PythonPythonRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_python_client/models/package_upload.rb +0 -283
- data/lib/pulp_python_client/models/python_bander_remote.rb +0 -257
- data/lib/pulp_python_client/models/python_python_package_content.rb +0 -534
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/package_upload_spec.rb +0 -53
- data/spec/models/python_bander_remote_spec.rb +0 -53
- data/spec/models/python_python_package_content_spec.rb +0 -203
@@ -6,11 +6,12 @@
|
|
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
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module PulpPythonClient
|
16
17
|
# Serializer for synchronously setting a label.
|
@@ -27,6 +28,11 @@ module PulpPythonClient
|
|
27
28
|
}
|
28
29
|
end
|
29
30
|
|
31
|
+
# Returns all the JSON keys this model knows about
|
32
|
+
def self.acceptable_attributes
|
33
|
+
attribute_map.values
|
34
|
+
end
|
35
|
+
|
30
36
|
# Attribute type mapping.
|
31
37
|
def self.openapi_types
|
32
38
|
{
|
@@ -58,6 +64,8 @@ module PulpPythonClient
|
|
58
64
|
|
59
65
|
if attributes.key?(:'key')
|
60
66
|
self.key = attributes[:'key']
|
67
|
+
else
|
68
|
+
self.key = nil
|
61
69
|
end
|
62
70
|
|
63
71
|
if attributes.key?(:'value')
|
@@ -68,6 +76,7 @@ module PulpPythonClient
|
|
68
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
69
77
|
# @return Array for valid properties with the reasons
|
70
78
|
def list_invalid_properties
|
79
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
71
80
|
invalid_properties = Array.new
|
72
81
|
if @key.nil?
|
73
82
|
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
@@ -84,6 +93,7 @@ module PulpPythonClient
|
|
84
93
|
# Check to see if the all the properties in the model are valid
|
85
94
|
# @return true if the model is valid
|
86
95
|
def valid?
|
96
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
87
97
|
return false if @key.nil?
|
88
98
|
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
89
99
|
true
|
@@ -129,37 +139,33 @@ module PulpPythonClient
|
|
129
139
|
# @param [Hash] attributes Model attributes in the form of hash
|
130
140
|
# @return [Object] Returns the model itself
|
131
141
|
def self.build_from_hash(attributes)
|
132
|
-
new.build_from_hash(attributes)
|
133
|
-
end
|
134
|
-
|
135
|
-
# Builds the object from hash
|
136
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
137
|
-
# @return [Object] Returns the model itself
|
138
|
-
def build_from_hash(attributes)
|
139
142
|
return nil unless attributes.is_a?(Hash)
|
140
|
-
|
141
|
-
|
143
|
+
attributes = attributes.transform_keys(&:to_sym)
|
144
|
+
transformed_hash = {}
|
145
|
+
openapi_types.each_pair do |key, type|
|
146
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
147
|
+
transformed_hash["#{key}"] = nil
|
148
|
+
elsif type =~ /\AArray<(.*)>/i
|
142
149
|
# check to ensure the input is an array given that the attribute
|
143
150
|
# is documented as an array but the input is not
|
144
|
-
if attributes[
|
145
|
-
|
151
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
152
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
146
153
|
end
|
147
|
-
elsif !attributes[
|
148
|
-
|
149
|
-
end
|
154
|
+
elsif !attributes[attribute_map[key]].nil?
|
155
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
156
|
+
end
|
150
157
|
end
|
151
|
-
|
152
|
-
self
|
158
|
+
new(transformed_hash)
|
153
159
|
end
|
154
160
|
|
155
161
|
# Deserializes the data based on type
|
156
162
|
# @param string type Data type
|
157
163
|
# @param string value Value to be deserialized
|
158
164
|
# @return [Object] Deserialized data
|
159
|
-
def _deserialize(type, value)
|
165
|
+
def self._deserialize(type, value)
|
160
166
|
case type.to_sym
|
161
|
-
when :
|
162
|
-
|
167
|
+
when :Time
|
168
|
+
Time.parse(value)
|
163
169
|
when :Date
|
164
170
|
Date.parse(value)
|
165
171
|
when :String
|
@@ -189,7 +195,9 @@ module PulpPythonClient
|
|
189
195
|
end
|
190
196
|
end
|
191
197
|
else # model
|
192
|
-
|
198
|
+
# models (e.g. Pet) or oneOf
|
199
|
+
klass = PulpPythonClient.const_get(type)
|
200
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
193
201
|
end
|
194
202
|
end
|
195
203
|
|
@@ -215,7 +223,7 @@ module PulpPythonClient
|
|
215
223
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
216
224
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
217
225
|
end
|
218
|
-
|
226
|
+
|
219
227
|
hash[param] = _to_hash(value)
|
220
228
|
end
|
221
229
|
hash
|
@@ -238,5 +246,7 @@ module PulpPythonClient
|
|
238
246
|
value
|
239
247
|
end
|
240
248
|
end
|
249
|
+
|
241
250
|
end
|
251
|
+
|
242
252
|
end
|
@@ -6,10 +6,10 @@
|
|
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
|
|
13
13
|
module PulpPythonClient
|
14
|
-
VERSION = '3.
|
14
|
+
VERSION = '3.13.0'
|
15
15
|
end
|
data/lib/pulp_python_client.rb
CHANGED
@@ -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
|
|
@@ -26,7 +26,6 @@ require 'pulp_python_client/models/nested_role_response'
|
|
26
26
|
require 'pulp_python_client/models/object_roles_response'
|
27
27
|
require 'pulp_python_client/models/package_metadata_response'
|
28
28
|
require 'pulp_python_client/models/package_types_enum'
|
29
|
-
require 'pulp_python_client/models/package_upload'
|
30
29
|
require 'pulp_python_client/models/package_upload_task_response'
|
31
30
|
require 'pulp_python_client/models/paginated_repository_version_response_list'
|
32
31
|
require 'pulp_python_client/models/paginatedpython_python_distribution_response_list'
|
@@ -38,16 +37,14 @@ require 'pulp_python_client/models/patchedpython_python_distribution'
|
|
38
37
|
require 'pulp_python_client/models/patchedpython_python_remote'
|
39
38
|
require 'pulp_python_client/models/patchedpython_python_repository'
|
40
39
|
require 'pulp_python_client/models/policy_enum'
|
41
|
-
require 'pulp_python_client/models/python_bander_remote'
|
42
40
|
require 'pulp_python_client/models/python_python_distribution'
|
43
41
|
require 'pulp_python_client/models/python_python_distribution_response'
|
44
|
-
require 'pulp_python_client/models/python_python_package_content'
|
45
42
|
require 'pulp_python_client/models/python_python_package_content_response'
|
46
43
|
require 'pulp_python_client/models/python_python_publication'
|
47
44
|
require 'pulp_python_client/models/python_python_publication_response'
|
48
45
|
require 'pulp_python_client/models/python_python_remote'
|
49
46
|
require 'pulp_python_client/models/python_python_remote_response'
|
50
|
-
require 'pulp_python_client/models/
|
47
|
+
require 'pulp_python_client/models/python_python_remote_response_hidden_fields_inner'
|
51
48
|
require 'pulp_python_client/models/python_python_repository'
|
52
49
|
require 'pulp_python_client/models/python_python_repository_response'
|
53
50
|
require 'pulp_python_client/models/repair'
|
data/pulp_python_client.gemspec
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
The version of the OpenAPI document: v3
|
9
9
|
Contact: pulp-list@redhat.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
|
11
|
+
Generator version: 7.10.0
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -24,11 +24,14 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.homepage = "https://github.com/pulp/pulp_python"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license =
|
28
|
-
s.required_ruby_version = ">=
|
29
|
-
|
30
|
-
|
31
|
-
s.add_runtime_dependency '
|
27
|
+
s.license = "GPLv2+"
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
29
|
+
s.metadata = {}
|
30
|
+
|
31
|
+
s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
|
32
|
+
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
33
|
+
s.add_runtime_dependency 'faraday-multipart'
|
34
|
+
s.add_runtime_dependency 'marcel'
|
32
35
|
|
33
36
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
37
|
|
@@ -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
|
|
@@ -56,18 +56,18 @@ describe 'ContentPackagesApi' do
|
|
56
56
|
# @option opts [String] :license Text indicating the license covering the distribution
|
57
57
|
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
58
58
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
59
|
-
# @option opts [
|
59
|
+
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
60
60
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
61
61
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
62
|
-
# @option opts [
|
63
|
-
# @option opts [
|
64
|
-
# @option opts [
|
65
|
-
# @option opts [
|
66
|
-
# @option opts [
|
62
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
63
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
64
|
+
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
65
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
66
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
67
67
|
# @return [AsyncOperationResponse]
|
68
68
|
describe 'create test' do
|
69
69
|
it 'should work' do
|
70
|
-
# assertion here. ref: https://
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
@@ -112,7 +112,7 @@ describe 'ContentPackagesApi' do
|
|
112
112
|
# @return [PaginatedpythonPythonPackageContentResponseList]
|
113
113
|
describe 'list test' do
|
114
114
|
it 'should work' do
|
115
|
-
# assertion here. ref: https://
|
115
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
@@ -126,7 +126,7 @@ describe 'ContentPackagesApi' do
|
|
126
126
|
# @return [PythonPythonPackageContentResponse]
|
127
127
|
describe 'read test' do
|
128
128
|
it 'should work' do
|
129
|
-
# assertion here. ref: https://
|
129
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
@@ -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
|
|
@@ -41,7 +41,7 @@ describe 'DistributionsPypiApi' do
|
|
41
41
|
# @return [NestedRoleResponse]
|
42
42
|
describe 'add_role test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -53,7 +53,7 @@ describe 'DistributionsPypiApi' do
|
|
53
53
|
# @return [AsyncOperationResponse]
|
54
54
|
describe 'create test' do
|
55
55
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -65,7 +65,7 @@ describe 'DistributionsPypiApi' do
|
|
65
65
|
# @return [AsyncOperationResponse]
|
66
66
|
describe 'delete test' do
|
67
67
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
@@ -102,7 +102,7 @@ describe 'DistributionsPypiApi' do
|
|
102
102
|
# @return [PaginatedpythonPythonDistributionResponseList]
|
103
103
|
describe 'list test' do
|
104
104
|
it 'should work' do
|
105
|
-
# assertion here. ref: https://
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
@@ -116,7 +116,7 @@ describe 'DistributionsPypiApi' do
|
|
116
116
|
# @return [ObjectRolesResponse]
|
117
117
|
describe 'list_roles test' do
|
118
118
|
it 'should work' do
|
119
|
-
# assertion here. ref: https://
|
119
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
120
120
|
end
|
121
121
|
end
|
122
122
|
|
@@ -130,7 +130,7 @@ describe 'DistributionsPypiApi' do
|
|
130
130
|
# @return [MyPermissionsResponse]
|
131
131
|
describe 'my_permissions test' do
|
132
132
|
it 'should work' do
|
133
|
-
# assertion here. ref: https://
|
133
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
@@ -143,7 +143,7 @@ describe 'DistributionsPypiApi' do
|
|
143
143
|
# @return [AsyncOperationResponse]
|
144
144
|
describe 'partial_update test' do
|
145
145
|
it 'should work' do
|
146
|
-
# assertion here. ref: https://
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
@@ -157,7 +157,7 @@ describe 'DistributionsPypiApi' do
|
|
157
157
|
# @return [PythonPythonDistributionResponse]
|
158
158
|
describe 'read test' do
|
159
159
|
it 'should work' do
|
160
|
-
# assertion here. ref: https://
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
@@ -170,7 +170,7 @@ describe 'DistributionsPypiApi' do
|
|
170
170
|
# @return [NestedRoleResponse]
|
171
171
|
describe 'remove_role test' do
|
172
172
|
it 'should work' do
|
173
|
-
# assertion here. ref: https://
|
173
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
@@ -183,7 +183,7 @@ describe 'DistributionsPypiApi' do
|
|
183
183
|
# @return [SetLabelResponse]
|
184
184
|
describe 'set_label test' do
|
185
185
|
it 'should work' do
|
186
|
-
# assertion here. ref: https://
|
186
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
187
187
|
end
|
188
188
|
end
|
189
189
|
|
@@ -196,7 +196,7 @@ describe 'DistributionsPypiApi' do
|
|
196
196
|
# @return [UnsetLabelResponse]
|
197
197
|
describe 'unset_label test' do
|
198
198
|
it 'should work' do
|
199
|
-
# assertion here. ref: https://
|
199
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
200
200
|
end
|
201
201
|
end
|
202
202
|
|
@@ -209,7 +209,7 @@ describe 'DistributionsPypiApi' do
|
|
209
209
|
# @return [AsyncOperationResponse]
|
210
210
|
describe 'update test' do
|
211
211
|
it 'should work' do
|
212
|
-
# assertion here. ref: https://
|
212
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
213
213
|
end
|
214
214
|
end
|
215
215
|
|
@@ -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
|
|
@@ -41,7 +41,7 @@ describe 'PublicationsPypiApi' do
|
|
41
41
|
# @return [NestedRoleResponse]
|
42
42
|
describe 'add_role test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -53,7 +53,7 @@ describe 'PublicationsPypiApi' do
|
|
53
53
|
# @return [AsyncOperationResponse]
|
54
54
|
describe 'create test' do
|
55
55
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -65,7 +65,7 @@ describe 'PublicationsPypiApi' do
|
|
65
65
|
# @return [nil]
|
66
66
|
describe 'delete test' do
|
67
67
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
@@ -79,12 +79,13 @@ describe 'PublicationsPypiApi' do
|
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
80
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
81
81
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
82
|
-
# @option opts [
|
83
|
-
# @option opts [
|
84
|
-
# @option opts [
|
85
|
-
# @option opts [
|
86
|
-
# @option opts [
|
87
|
-
# @option opts [
|
82
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
83
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
84
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
85
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
86
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
87
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
88
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
88
89
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
89
90
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
90
91
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -95,7 +96,7 @@ describe 'PublicationsPypiApi' do
|
|
95
96
|
# @return [PaginatedpythonPythonPublicationResponseList]
|
96
97
|
describe 'list test' do
|
97
98
|
it 'should work' do
|
98
|
-
# assertion here. ref: https://
|
99
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
99
100
|
end
|
100
101
|
end
|
101
102
|
|
@@ -109,7 +110,7 @@ describe 'PublicationsPypiApi' do
|
|
109
110
|
# @return [ObjectRolesResponse]
|
110
111
|
describe 'list_roles test' do
|
111
112
|
it 'should work' do
|
112
|
-
# assertion here. ref: https://
|
113
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
113
114
|
end
|
114
115
|
end
|
115
116
|
|
@@ -123,7 +124,7 @@ describe 'PublicationsPypiApi' do
|
|
123
124
|
# @return [MyPermissionsResponse]
|
124
125
|
describe 'my_permissions test' do
|
125
126
|
it 'should work' do
|
126
|
-
# assertion here. ref: https://
|
127
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
127
128
|
end
|
128
129
|
end
|
129
130
|
|
@@ -137,7 +138,7 @@ describe 'PublicationsPypiApi' do
|
|
137
138
|
# @return [PythonPythonPublicationResponse]
|
138
139
|
describe 'read test' do
|
139
140
|
it 'should work' do
|
140
|
-
# assertion here. ref: https://
|
141
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
141
142
|
end
|
142
143
|
end
|
143
144
|
|
@@ -150,7 +151,7 @@ describe 'PublicationsPypiApi' do
|
|
150
151
|
# @return [NestedRoleResponse]
|
151
152
|
describe 'remove_role test' do
|
152
153
|
it 'should work' do
|
153
|
-
# assertion here. ref: https://
|
154
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
154
155
|
end
|
155
156
|
end
|
156
157
|
|
data/spec/api/pypi_api_spec.rb
CHANGED
@@ -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
|
|
@@ -42,7 +42,7 @@ describe 'PypiApi' do
|
|
42
42
|
# @return [SummaryResponse]
|
43
43
|
describe 'read test' do
|
44
44
|
it 'should work' do
|
45
|
-
# assertion here. ref: https://
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
@@ -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
|
|
@@ -43,7 +43,7 @@ describe 'PypiLegacyApi' do
|
|
43
43
|
# @return [PackageUploadTaskResponse]
|
44
44
|
describe 'create test' do
|
45
45
|
it 'should work' do
|
46
|
-
# assertion here. ref: https://
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
@@ -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
|
|
@@ -43,7 +43,7 @@ describe 'PypiMetadataApi' do
|
|
43
43
|
# @return [PackageMetadataResponse]
|
44
44
|
describe 'read test' do
|
45
45
|
it 'should work' do
|
46
|
-
# assertion here. ref: https://
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
@@ -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
|
|
@@ -43,7 +43,7 @@ describe 'PypiSimpleApi' do
|
|
43
43
|
# @return [PackageUploadTaskResponse]
|
44
44
|
describe 'create test' do
|
45
45
|
it 'should work' do
|
46
|
-
# assertion here. ref: https://
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
@@ -58,7 +58,7 @@ describe 'PypiSimpleApi' do
|
|
58
58
|
# @return [nil]
|
59
59
|
describe 'pypi_simple_package_read test' do
|
60
60
|
it 'should work' do
|
61
|
-
# assertion here. ref: https://
|
61
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -72,7 +72,7 @@ describe 'PypiSimpleApi' do
|
|
72
72
|
# @return [nil]
|
73
73
|
describe 'read test' do
|
74
74
|
it 'should work' do
|
75
|
-
# assertion here. ref: https://
|
75
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|