pulp_maven_client 0.1.0b3.dev01566243938 → 0.1.0b31570221045
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentArtifactApi.md +16 -6
- data/docs/DistributionsMavenApi.md +16 -6
- data/docs/MavenArtifact.md +4 -4
- data/docs/RemotesMavenApi.md +16 -6
- data/git_push.sh +10 -7
- data/lib/pulp_maven_client/api/content_artifact_api.rb +19 -7
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +19 -7
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +19 -7
- data/lib/pulp_maven_client/api_client.rb +1 -1
- data/lib/pulp_maven_client/api_error.rb +1 -1
- data/lib/pulp_maven_client/configuration.rb +1 -1
- data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response200.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_maven_client/models/maven_artifact.rb +30 -30
- data/lib/pulp_maven_client/models/maven_distribution.rb +1 -1
- data/lib/pulp_maven_client/models/maven_remote.rb +1 -1
- data/lib/pulp_maven_client/version.rb +2 -2
- data/lib/pulp_maven_client.rb +1 -1
- data/pulp_maven_client.gemspec +1 -1
- data/spec/api/content_artifact_api_spec.rb +7 -3
- data/spec/api/distributions_maven_api_spec.rb +7 -3
- data/spec/api/remotes_maven_api_spec.rb +7 -3
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/maven_artifact_spec.rb +3 -3
- data/spec/models/maven_distribution_spec.rb +1 -1
- data/spec/models/maven_remote_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31132f2c3c09dec7d5eaa7cbc94945350ed468a4c5541e91bbf9b548e4b8de8c
|
4
|
+
data.tar.gz: 6a1f3086f0305d081c43d629a3282e0446321e6dab4bb733458df7bd03442d17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7840b0ca099e293bad6b22df4cd94da136a3f8021a0bb3302d4ccc64fa9fd67b7dd73aeab8311aee69f54243add404a665bcab01cdd42c53ee0d9f23fecf245e
|
7
|
+
data.tar.gz: 6f65741be6e72c79c6f738b416b5391aa5aab166c6235cb3627f47dd2769e381cf7f33a8d14691d2f6e5bbf33c0e1941970abbff4efb1161959a3014b2528ed6
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.1.
|
10
|
+
- Package version: 0.1.0b31570221045
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_maven_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_maven_client-0.1.
|
26
|
+
gem install ./pulp_maven_client-0.1.0b31570221045.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_maven_client-0.1.
|
29
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.1.0b31570221045.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_maven_client', '~> 0.1.
|
35
|
+
gem 'pulp_maven_client', '~> 0.1.0b31570221045'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/ContentArtifactApi.md
CHANGED
@@ -92,8 +92,10 @@ opts = {
|
|
92
92
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
93
93
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
95
|
-
|
96
|
-
|
95
|
+
limit: 56, # Integer | Number of results to return per page.
|
96
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
97
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
98
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
97
99
|
}
|
98
100
|
|
99
101
|
begin
|
@@ -117,8 +119,10 @@ Name | Type | Description | Notes
|
|
117
119
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
118
120
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
119
121
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
120
|
-
**
|
121
|
-
**
|
122
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
123
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
124
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
125
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
122
126
|
|
123
127
|
### Return type
|
124
128
|
|
@@ -136,7 +140,7 @@ Name | Type | Description | Notes
|
|
136
140
|
|
137
141
|
## read
|
138
142
|
|
139
|
-
> MavenArtifact read(maven_artifact_href)
|
143
|
+
> MavenArtifact read(maven_artifact_href, opts)
|
140
144
|
|
141
145
|
Inspect a maven artifact
|
142
146
|
|
@@ -156,10 +160,14 @@ end
|
|
156
160
|
|
157
161
|
api_instance = PulpMavenClient::ContentArtifactApi.new
|
158
162
|
maven_artifact_href = 'maven_artifact_href_example' # String | URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
163
|
+
opts = {
|
164
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
165
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
166
|
+
}
|
159
167
|
|
160
168
|
begin
|
161
169
|
#Inspect a maven artifact
|
162
|
-
result = api_instance.read(maven_artifact_href)
|
170
|
+
result = api_instance.read(maven_artifact_href, opts)
|
163
171
|
p result
|
164
172
|
rescue PulpMavenClient::ApiError => e
|
165
173
|
puts "Exception when calling ContentArtifactApi->read: #{e}"
|
@@ -172,6 +180,8 @@ end
|
|
172
180
|
Name | Type | Description | Notes
|
173
181
|
------------- | ------------- | ------------- | -------------
|
174
182
|
**maven_artifact_href** | **String**| URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/ |
|
183
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
175
185
|
|
176
186
|
### Return type
|
177
187
|
|
@@ -147,8 +147,10 @@ opts = {
|
|
147
147
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
148
148
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
149
149
|
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
150
|
-
|
151
|
-
|
150
|
+
limit: 56, # Integer | Number of results to return per page.
|
151
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
152
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
153
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
152
154
|
}
|
153
155
|
|
154
156
|
begin
|
@@ -171,8 +173,10 @@ Name | Type | Description | Notes
|
|
171
173
|
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
172
174
|
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
173
175
|
**base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
|
174
|
-
**
|
175
|
-
**
|
176
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
177
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
178
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
179
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
176
180
|
|
177
181
|
### Return type
|
178
182
|
|
@@ -245,7 +249,7 @@ Name | Type | Description | Notes
|
|
245
249
|
|
246
250
|
## read
|
247
251
|
|
248
|
-
> MavenDistribution read(maven_distribution_href)
|
252
|
+
> MavenDistribution read(maven_distribution_href, opts)
|
249
253
|
|
250
254
|
Inspect a maven distribution
|
251
255
|
|
@@ -265,10 +269,14 @@ end
|
|
265
269
|
|
266
270
|
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
267
271
|
maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
272
|
+
opts = {
|
273
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
274
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
275
|
+
}
|
268
276
|
|
269
277
|
begin
|
270
278
|
#Inspect a maven distribution
|
271
|
-
result = api_instance.read(maven_distribution_href)
|
279
|
+
result = api_instance.read(maven_distribution_href, opts)
|
272
280
|
p result
|
273
281
|
rescue PulpMavenClient::ApiError => e
|
274
282
|
puts "Exception when calling DistributionsMavenApi->read: #{e}"
|
@@ -281,6 +289,8 @@ end
|
|
281
289
|
Name | Type | Description | Notes
|
282
290
|
------------- | ------------- | ------------- | -------------
|
283
291
|
**maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
|
292
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
293
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
284
294
|
|
285
295
|
### Return type
|
286
296
|
|
data/docs/MavenArtifact.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**_href** | **String** | | [optional]
|
8
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
9
9
|
**_type** | **String** | | [optional]
|
10
|
-
**
|
11
|
-
**
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
11
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
12
12
|
**group_id** | **String** | Group Id of the artifact's package. | [optional]
|
13
13
|
**artifact_id** | **String** | Artifact Id of the artifact's package. | [optional]
|
14
14
|
**version** | **String** | Version of the artifact's package. | [optional]
|
@@ -22,8 +22,8 @@ require 'PulpMavenClient'
|
|
22
22
|
instance = PulpMavenClient::MavenArtifact.new(_href: null,
|
23
23
|
_created: null,
|
24
24
|
_type: null,
|
25
|
-
|
26
|
-
|
25
|
+
artifact: null,
|
26
|
+
relative_path: null,
|
27
27
|
group_id: null,
|
28
28
|
artifact_id: null,
|
29
29
|
version: null,
|
data/docs/RemotesMavenApi.md
CHANGED
@@ -149,8 +149,10 @@ opts = {
|
|
149
149
|
_last_updated__gte: '_last_updated__gte_example', # String | Filter results where _last_updated is greater than or equal to value
|
150
150
|
_last_updated__range: '_last_updated__range_example', # String | Filter results where _last_updated is between two comma separated values
|
151
151
|
_last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
|
152
|
-
|
153
|
-
|
152
|
+
limit: 56, # Integer | Number of results to return per page.
|
153
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
154
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
155
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
154
156
|
}
|
155
157
|
|
156
158
|
begin
|
@@ -175,8 +177,10 @@ Name | Type | Description | Notes
|
|
175
177
|
**_last_updated__gte** | **String**| Filter results where _last_updated is greater than or equal to value | [optional]
|
176
178
|
**_last_updated__range** | **String**| Filter results where _last_updated is between two comma separated values | [optional]
|
177
179
|
**_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
178
|
-
**
|
179
|
-
**
|
180
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
181
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
182
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
183
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
180
184
|
|
181
185
|
### Return type
|
182
186
|
|
@@ -249,7 +253,7 @@ Name | Type | Description | Notes
|
|
249
253
|
|
250
254
|
## read
|
251
255
|
|
252
|
-
> MavenRemote read(maven_remote_href)
|
256
|
+
> MavenRemote read(maven_remote_href, opts)
|
253
257
|
|
254
258
|
Inspect a maven remote
|
255
259
|
|
@@ -269,10 +273,14 @@ end
|
|
269
273
|
|
270
274
|
api_instance = PulpMavenClient::RemotesMavenApi.new
|
271
275
|
maven_remote_href = 'maven_remote_href_example' # String | URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
276
|
+
opts = {
|
277
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
278
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
279
|
+
}
|
272
280
|
|
273
281
|
begin
|
274
282
|
#Inspect a maven remote
|
275
|
-
result = api_instance.read(maven_remote_href)
|
283
|
+
result = api_instance.read(maven_remote_href, opts)
|
276
284
|
p result
|
277
285
|
rescue PulpMavenClient::ApiError => e
|
278
286
|
puts "Exception when calling RemotesMavenApi->read: #{e}"
|
@@ -285,6 +293,8 @@ end
|
|
285
293
|
Name | Type | Description | Notes
|
286
294
|
------------- | ------------- | ------------- | -------------
|
287
295
|
**maven_remote_href** | **String**| URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/ |
|
296
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
297
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
288
298
|
|
289
299
|
### Return type
|
290
300
|
|
data/git_push.sh
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
#!/bin/sh
|
2
|
-
#
|
3
|
-
# Generated by: https://openapi-generator.tech
|
4
|
-
#
|
5
2
|
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
6
3
|
#
|
7
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
8
5
|
|
9
6
|
git_user_id=$1
|
10
7
|
git_repo_id=$2
|
11
8
|
release_note=$3
|
9
|
+
git_host=$4
|
10
|
+
|
11
|
+
if [ "$git_host" = "" ]; then
|
12
|
+
git_host="github.com"
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
+
fi
|
12
15
|
|
13
16
|
if [ "$git_user_id" = "" ]; then
|
14
17
|
git_user_id="GIT_USER_ID"
|
@@ -40,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
|
|
40
43
|
|
41
44
|
if [ "$GIT_TOKEN" = "" ]; then
|
42
45
|
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
|
-
git remote add origin https
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
44
47
|
else
|
45
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}
|
48
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
46
49
|
fi
|
47
50
|
|
48
51
|
fi
|
@@ -50,6 +53,6 @@ fi
|
|
50
53
|
git pull origin master
|
51
54
|
|
52
55
|
# Pushes (Forces) the changes in the local repository up to the remote repository
|
53
|
-
echo "Git pushing to https
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
54
57
|
git push origin master 2>&1 | grep -v 'To https'
|
55
58
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -93,8 +93,10 @@ module PulpMavenClient
|
|
93
93
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
94
94
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
95
95
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
96
|
-
# @option opts [Integer] :
|
97
|
-
# @option opts [Integer] :
|
96
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
97
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
98
100
|
# @return [InlineResponse200]
|
99
101
|
def list(opts = {})
|
100
102
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -111,8 +113,10 @@ module PulpMavenClient
|
|
111
113
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
112
114
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
113
115
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
114
|
-
# @option opts [Integer] :
|
115
|
-
# @option opts [Integer] :
|
116
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
117
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
118
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
119
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
116
120
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
117
121
|
def list_with_http_info(opts = {})
|
118
122
|
if @api_client.config.debugging
|
@@ -130,8 +134,10 @@ module PulpMavenClient
|
|
130
134
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
131
135
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
132
136
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
133
|
-
query_params[:'
|
134
|
-
query_params[:'
|
137
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
138
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
139
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
140
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
135
141
|
|
136
142
|
# header parameters
|
137
143
|
header_params = opts[:header_params] || {}
|
@@ -170,6 +176,8 @@ module PulpMavenClient
|
|
170
176
|
# A ViewSet for MavenArtifact.
|
171
177
|
# @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
172
178
|
# @param [Hash] opts the optional parameters
|
179
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
180
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
173
181
|
# @return [MavenArtifact]
|
174
182
|
def read(maven_artifact_href, opts = {})
|
175
183
|
data, _status_code, _headers = read_with_http_info(maven_artifact_href, opts)
|
@@ -180,6 +188,8 @@ module PulpMavenClient
|
|
180
188
|
# A ViewSet for MavenArtifact.
|
181
189
|
# @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
182
190
|
# @param [Hash] opts the optional parameters
|
191
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
192
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
183
193
|
# @return [Array<(MavenArtifact, Integer, Hash)>] MavenArtifact data, response status code and response headers
|
184
194
|
def read_with_http_info(maven_artifact_href, opts = {})
|
185
195
|
if @api_client.config.debugging
|
@@ -194,6 +204,8 @@ module PulpMavenClient
|
|
194
204
|
|
195
205
|
# query parameters
|
196
206
|
query_params = opts[:query_params] || {}
|
207
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
208
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
197
209
|
|
198
210
|
# header parameters
|
199
211
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -154,8 +154,10 @@ module PulpMavenClient
|
|
154
154
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
155
155
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
156
156
|
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
157
|
-
# @option opts [Integer] :
|
158
|
-
# @option opts [Integer] :
|
157
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
158
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
159
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
160
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
159
161
|
# @return [InlineResponse2001]
|
160
162
|
def list(opts = {})
|
161
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -171,8 +173,10 @@ module PulpMavenClient
|
|
171
173
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
172
174
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
173
175
|
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
174
|
-
# @option opts [Integer] :
|
175
|
-
# @option opts [Integer] :
|
176
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
177
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
178
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
179
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
176
180
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
177
181
|
def list_with_http_info(opts = {})
|
178
182
|
if @api_client.config.debugging
|
@@ -189,8 +193,10 @@ module PulpMavenClient
|
|
189
193
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
190
194
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
191
195
|
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
192
|
-
query_params[:'
|
193
|
-
query_params[:'
|
196
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
197
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
198
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
199
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
194
200
|
|
195
201
|
# header parameters
|
196
202
|
header_params = opts[:header_params] || {}
|
@@ -299,6 +305,8 @@ module PulpMavenClient
|
|
299
305
|
# ViewSet for Maven Distributions.
|
300
306
|
# @param maven_distribution_href [String] URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
301
307
|
# @param [Hash] opts the optional parameters
|
308
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
309
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
302
310
|
# @return [MavenDistribution]
|
303
311
|
def read(maven_distribution_href, opts = {})
|
304
312
|
data, _status_code, _headers = read_with_http_info(maven_distribution_href, opts)
|
@@ -309,6 +317,8 @@ module PulpMavenClient
|
|
309
317
|
# ViewSet for Maven Distributions.
|
310
318
|
# @param maven_distribution_href [String] URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
311
319
|
# @param [Hash] opts the optional parameters
|
320
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
321
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
312
322
|
# @return [Array<(MavenDistribution, Integer, Hash)>] MavenDistribution data, response status code and response headers
|
313
323
|
def read_with_http_info(maven_distribution_href, opts = {})
|
314
324
|
if @api_client.config.debugging
|
@@ -323,6 +333,8 @@ module PulpMavenClient
|
|
323
333
|
|
324
334
|
# query parameters
|
325
335
|
query_params = opts[:query_params] || {}
|
336
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
337
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
326
338
|
|
327
339
|
# header parameters
|
328
340
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -156,8 +156,10 @@ module PulpMavenClient
|
|
156
156
|
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
157
157
|
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
158
158
|
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
159
|
-
# @option opts [Integer] :
|
160
|
-
# @option opts [Integer] :
|
159
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
160
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
161
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
162
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
163
|
# @return [InlineResponse2002]
|
162
164
|
def list(opts = {})
|
163
165
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,8 +177,10 @@ module PulpMavenClient
|
|
175
177
|
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
176
178
|
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
177
179
|
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
178
|
-
# @option opts [Integer] :
|
179
|
-
# @option opts [Integer] :
|
180
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
181
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
182
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
183
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
184
|
# @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
|
181
185
|
def list_with_http_info(opts = {})
|
182
186
|
if @api_client.config.debugging
|
@@ -195,8 +199,10 @@ module PulpMavenClient
|
|
195
199
|
query_params[:'_last_updated__gte'] = opts[:'_last_updated__gte'] if !opts[:'_last_updated__gte'].nil?
|
196
200
|
query_params[:'_last_updated__range'] = opts[:'_last_updated__range'] if !opts[:'_last_updated__range'].nil?
|
197
201
|
query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
|
198
|
-
query_params[:'
|
199
|
-
query_params[:'
|
202
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
203
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
204
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
205
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
200
206
|
|
201
207
|
# header parameters
|
202
208
|
header_params = opts[:header_params] || {}
|
@@ -305,6 +311,8 @@ module PulpMavenClient
|
|
305
311
|
# A ViewSet for MavenRemote.
|
306
312
|
# @param maven_remote_href [String] URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
307
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
315
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
308
316
|
# @return [MavenRemote]
|
309
317
|
def read(maven_remote_href, opts = {})
|
310
318
|
data, _status_code, _headers = read_with_http_info(maven_remote_href, opts)
|
@@ -315,6 +323,8 @@ module PulpMavenClient
|
|
315
323
|
# A ViewSet for MavenRemote.
|
316
324
|
# @param maven_remote_href [String] URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
317
325
|
# @param [Hash] opts the optional parameters
|
326
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
327
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
318
328
|
# @return [Array<(MavenRemote, Integer, Hash)>] MavenRemote data, response status code and response headers
|
319
329
|
def read_with_http_info(maven_remote_href, opts = {})
|
320
330
|
if @api_client.config.debugging
|
@@ -329,6 +339,8 @@ module PulpMavenClient
|
|
329
339
|
|
330
340
|
# query parameters
|
331
341
|
query_params = opts[:query_params] || {}
|
342
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
343
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
332
344
|
|
333
345
|
# header parameters
|
334
346
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,10 +22,10 @@ module PulpMavenClient
|
|
22
22
|
attr_accessor :_type
|
23
23
|
|
24
24
|
# Artifact file representing the physical content
|
25
|
-
attr_accessor :
|
25
|
+
attr_accessor :artifact
|
26
26
|
|
27
27
|
# Path where the artifact is located relative to distributions base_path
|
28
|
-
attr_accessor :
|
28
|
+
attr_accessor :relative_path
|
29
29
|
|
30
30
|
# Group Id of the artifact's package.
|
31
31
|
attr_accessor :group_id
|
@@ -45,8 +45,8 @@ module PulpMavenClient
|
|
45
45
|
:'_href' => :'_href',
|
46
46
|
:'_created' => :'_created',
|
47
47
|
:'_type' => :'_type',
|
48
|
-
:'
|
49
|
-
:'
|
48
|
+
:'artifact' => :'artifact',
|
49
|
+
:'relative_path' => :'relative_path',
|
50
50
|
:'group_id' => :'group_id',
|
51
51
|
:'artifact_id' => :'artifact_id',
|
52
52
|
:'version' => :'version',
|
@@ -60,8 +60,8 @@ module PulpMavenClient
|
|
60
60
|
:'_href' => :'String',
|
61
61
|
:'_created' => :'DateTime',
|
62
62
|
:'_type' => :'String',
|
63
|
-
:'
|
64
|
-
:'
|
63
|
+
:'artifact' => :'String',
|
64
|
+
:'relative_path' => :'String',
|
65
65
|
:'group_id' => :'String',
|
66
66
|
:'artifact_id' => :'String',
|
67
67
|
:'version' => :'String',
|
@@ -96,12 +96,12 @@ module PulpMavenClient
|
|
96
96
|
self._type = attributes[:'_type']
|
97
97
|
end
|
98
98
|
|
99
|
-
if attributes.key?(:'
|
100
|
-
self.
|
99
|
+
if attributes.key?(:'artifact')
|
100
|
+
self.artifact = attributes[:'artifact']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
self.
|
103
|
+
if attributes.key?(:'relative_path')
|
104
|
+
self.relative_path = attributes[:'relative_path']
|
105
105
|
end
|
106
106
|
|
107
107
|
if attributes.key?(:'group_id')
|
@@ -129,16 +129,16 @@ module PulpMavenClient
|
|
129
129
|
invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
|
130
130
|
end
|
131
131
|
|
132
|
-
if @
|
133
|
-
invalid_properties.push('invalid value for "
|
132
|
+
if @artifact.nil?
|
133
|
+
invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
|
134
134
|
end
|
135
135
|
|
136
|
-
if @
|
137
|
-
invalid_properties.push('invalid value for "
|
136
|
+
if @relative_path.nil?
|
137
|
+
invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
|
138
138
|
end
|
139
139
|
|
140
|
-
if @
|
141
|
-
invalid_properties.push('invalid value for "
|
140
|
+
if @relative_path.to_s.length < 1
|
141
|
+
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
142
142
|
end
|
143
143
|
|
144
144
|
if !@group_id.nil? && @group_id.to_s.length < 1
|
@@ -164,9 +164,9 @@ module PulpMavenClient
|
|
164
164
|
# @return true if the model is valid
|
165
165
|
def valid?
|
166
166
|
return false if !@_type.nil? && @_type.to_s.length < 1
|
167
|
-
return false if @
|
168
|
-
return false if @
|
169
|
-
return false if @
|
167
|
+
return false if @artifact.nil?
|
168
|
+
return false if @relative_path.nil?
|
169
|
+
return false if @relative_path.to_s.length < 1
|
170
170
|
return false if !@group_id.nil? && @group_id.to_s.length < 1
|
171
171
|
return false if !@artifact_id.nil? && @artifact_id.to_s.length < 1
|
172
172
|
return false if !@version.nil? && @version.to_s.length < 1
|
@@ -185,17 +185,17 @@ module PulpMavenClient
|
|
185
185
|
end
|
186
186
|
|
187
187
|
# Custom attribute writer method with validation
|
188
|
-
# @param [Object]
|
189
|
-
def
|
190
|
-
if
|
191
|
-
fail ArgumentError, '
|
188
|
+
# @param [Object] relative_path Value to be assigned
|
189
|
+
def relative_path=(relative_path)
|
190
|
+
if relative_path.nil?
|
191
|
+
fail ArgumentError, 'relative_path cannot be nil'
|
192
192
|
end
|
193
193
|
|
194
|
-
if
|
195
|
-
fail ArgumentError, 'invalid value for "
|
194
|
+
if relative_path.to_s.length < 1
|
195
|
+
fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
|
196
196
|
end
|
197
197
|
|
198
|
-
@
|
198
|
+
@relative_path = relative_path
|
199
199
|
end
|
200
200
|
|
201
201
|
# Custom attribute writer method with validation
|
@@ -246,8 +246,8 @@ module PulpMavenClient
|
|
246
246
|
_href == o._href &&
|
247
247
|
_created == o._created &&
|
248
248
|
_type == o._type &&
|
249
|
-
|
250
|
-
|
249
|
+
artifact == o.artifact &&
|
250
|
+
relative_path == o.relative_path &&
|
251
251
|
group_id == o.group_id &&
|
252
252
|
artifact_id == o.artifact_id &&
|
253
253
|
version == o.version &&
|
@@ -263,7 +263,7 @@ module PulpMavenClient
|
|
263
263
|
# Calculates hash code according to all attributes.
|
264
264
|
# @return [Integer] Hash code
|
265
265
|
def hash
|
266
|
-
[_href, _created, _type,
|
266
|
+
[_href, _created, _type, artifact, relative_path, group_id, artifact_id, version, filename].hash
|
267
267
|
end
|
268
268
|
|
269
269
|
# Builds the object from hash
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpMavenClient
|
14
|
-
VERSION = '0.1.
|
14
|
+
VERSION = '0.1.0b31570221045'
|
15
15
|
end
|
data/lib/pulp_maven_client.rb
CHANGED
data/pulp_maven_client.gemspec
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -55,8 +55,10 @@ describe 'ContentArtifactApi' do
|
|
55
55
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
56
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
57
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
|
-
# @option opts [Integer] :
|
59
|
-
# @option opts [Integer] :
|
58
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
59
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
61
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
60
62
|
# @return [InlineResponse200]
|
61
63
|
describe 'list test' do
|
62
64
|
it 'should work' do
|
@@ -69,6 +71,8 @@ describe 'ContentArtifactApi' do
|
|
69
71
|
# A ViewSet for MavenArtifact.
|
70
72
|
# @param maven_artifact_href URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
71
73
|
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
75
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
72
76
|
# @return [MavenArtifact]
|
73
77
|
describe 'read test' do
|
74
78
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,8 +66,10 @@ describe 'DistributionsMavenApi' do
|
|
66
66
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
67
67
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
68
68
|
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
69
|
-
# @option opts [Integer] :
|
70
|
-
# @option opts [Integer] :
|
69
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
70
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
71
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
72
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
73
|
# @return [InlineResponse2001]
|
72
74
|
describe 'list test' do
|
73
75
|
it 'should work' do
|
@@ -93,6 +95,8 @@ describe 'DistributionsMavenApi' do
|
|
93
95
|
# ViewSet for Maven Distributions.
|
94
96
|
# @param maven_distribution_href URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
|
95
97
|
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
96
100
|
# @return [MavenDistribution]
|
97
101
|
describe 'read test' do
|
98
102
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -68,8 +68,10 @@ describe 'RemotesMavenApi' do
|
|
68
68
|
# @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
|
69
69
|
# @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
|
70
70
|
# @option opts [String] :_last_updated ISO 8601 formatted dates are supported
|
71
|
-
# @option opts [Integer] :
|
72
|
-
# @option opts [Integer] :
|
71
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
72
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
73
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
75
|
# @return [InlineResponse2002]
|
74
76
|
describe 'list test' do
|
75
77
|
it 'should work' do
|
@@ -95,6 +97,8 @@ describe 'RemotesMavenApi' do
|
|
95
97
|
# A ViewSet for MavenRemote.
|
96
98
|
# @param maven_remote_href URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
|
97
99
|
# @param [Hash] opts the optional parameters
|
100
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
101
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
98
102
|
# @return [MavenRemote]
|
99
103
|
describe 'read test' do
|
100
104
|
it 'should work' do
|
data/spec/api_client_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -118,7 +118,7 @@ describe PulpMavenClient::ApiClient do
|
|
118
118
|
end
|
119
119
|
|
120
120
|
it 'fails for invalid collection format' do
|
121
|
-
expect
|
121
|
+
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -50,13 +50,13 @@ describe 'MavenArtifact' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "artifact"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "relative_path"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_maven_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.0b31570221045
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|