pulp_maven_client 0.1.0b3.dev0.1561664543 → 0.1.0b3.dev01565206788

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_maven_client might be problematic. Click here for more details.

Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/InlineResponse200.md +3 -3
  4. data/docs/InlineResponse2001.md +3 -3
  5. data/docs/InlineResponse2002.md +3 -3
  6. data/docs/MavenRemote.md +1 -3
  7. data/lib/pulp_maven_client/api/content_artifact_api.rb +3 -3
  8. data/lib/pulp_maven_client/api/distributions_maven_api.rb +6 -6
  9. data/lib/pulp_maven_client/api/remotes_maven_api.rb +6 -6
  10. data/lib/pulp_maven_client/api_client.rb +53 -38
  11. data/lib/pulp_maven_client/api_error.rb +1 -1
  12. data/lib/pulp_maven_client/configuration.rb +13 -21
  13. data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
  14. data/lib/pulp_maven_client/models/inline_response200.rb +11 -11
  15. data/lib/pulp_maven_client/models/inline_response2001.rb +11 -11
  16. data/lib/pulp_maven_client/models/inline_response2002.rb +11 -11
  17. data/lib/pulp_maven_client/models/maven_artifact.rb +1 -1
  18. data/lib/pulp_maven_client/models/maven_distribution.rb +1 -1
  19. data/lib/pulp_maven_client/models/maven_remote.rb +5 -15
  20. data/lib/pulp_maven_client/version.rb +2 -2
  21. data/lib/pulp_maven_client.rb +1 -1
  22. data/pulp_maven_client.gemspec +3 -9
  23. data/spec/api/content_artifact_api_spec.rb +1 -1
  24. data/spec/api/distributions_maven_api_spec.rb +1 -1
  25. data/spec/api/remotes_maven_api_spec.rb +1 -1
  26. data/spec/api_client_spec.rb +1 -39
  27. data/spec/configuration_spec.rb +1 -1
  28. data/spec/models/async_operation_response_spec.rb +1 -1
  29. data/spec/models/inline_response2001_spec.rb +4 -4
  30. data/spec/models/inline_response2002_spec.rb +4 -4
  31. data/spec/models/inline_response200_spec.rb +4 -4
  32. data/spec/models/maven_artifact_spec.rb +1 -1
  33. data/spec/models/maven_distribution_spec.rb +1 -1
  34. data/spec/models/maven_remote_spec.rb +2 -8
  35. data/spec/spec_helper.rb +1 -1
  36. metadata +6 -133
  37. data/Gemfile.lock +0 -79
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpMavenClient
16
16
  class InlineResponse2001
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpMavenClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<MavenDistribution>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpMavenClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpMavenClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpMavenClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpMavenClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpMavenClient
16
16
  class InlineResponse2002
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpMavenClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<MavenRemote>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpMavenClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpMavenClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpMavenClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpMavenClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -27,9 +27,6 @@ module PulpMavenClient
27
27
  # The URL of an external content source.
28
28
  attr_accessor :url
29
29
 
30
- # If True, the plugin will validate imported artifacts.
31
- attr_accessor :validate
32
-
33
30
  # A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET.
34
31
  attr_accessor :ssl_ca_certificate
35
32
 
@@ -57,7 +54,7 @@ module PulpMavenClient
57
54
  # Total number of simultaneous connections.
58
55
  attr_accessor :download_concurrency
59
56
 
60
- # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default.
57
+ # The policy to use when downloading content.
61
58
  attr_accessor :policy
62
59
 
63
60
  class EnumAttributeValidator
@@ -90,7 +87,6 @@ module PulpMavenClient
90
87
  :'_type' => :'_type',
91
88
  :'name' => :'name',
92
89
  :'url' => :'url',
93
- :'validate' => :'validate',
94
90
  :'ssl_ca_certificate' => :'ssl_ca_certificate',
95
91
  :'ssl_client_certificate' => :'ssl_client_certificate',
96
92
  :'ssl_client_key' => :'ssl_client_key',
@@ -112,7 +108,6 @@ module PulpMavenClient
112
108
  :'_type' => :'String',
113
109
  :'name' => :'String',
114
110
  :'url' => :'String',
115
- :'validate' => :'Boolean',
116
111
  :'ssl_ca_certificate' => :'String',
117
112
  :'ssl_client_certificate' => :'String',
118
113
  :'ssl_client_key' => :'String',
@@ -161,10 +156,6 @@ module PulpMavenClient
161
156
  self.url = attributes[:'url']
162
157
  end
163
158
 
164
- if attributes.key?(:'validate')
165
- self.validate = attributes[:'validate']
166
- end
167
-
168
159
  if attributes.key?(:'ssl_ca_certificate')
169
160
  self.ssl_ca_certificate = attributes[:'ssl_ca_certificate']
170
161
  end
@@ -278,7 +269,7 @@ module PulpMavenClient
278
269
  return false if !@username.nil? && @username.to_s.length < 1
279
270
  return false if !@password.nil? && @password.to_s.length < 1
280
271
  return false if !@download_concurrency.nil? && @download_concurrency < 1
281
- policy_validator = EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
272
+ policy_validator = EnumAttributeValidator.new('String', ["immediate", "When syncing, download all metadata and content now."])
282
273
  return false unless policy_validator.valid?(@policy)
283
274
  true
284
275
  end
@@ -394,7 +385,7 @@ module PulpMavenClient
394
385
  # Custom attribute writer method checking allowed values (enum).
395
386
  # @param [Object] policy Object to be assigned
396
387
  def policy=(policy)
397
- validator = EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
388
+ validator = EnumAttributeValidator.new('String', ["immediate", "When syncing, download all metadata and content now."])
398
389
  unless validator.valid?(policy)
399
390
  fail ArgumentError, "invalid value for \"policy\", must be one of #{validator.allowable_values}."
400
391
  end
@@ -411,7 +402,6 @@ module PulpMavenClient
411
402
  _type == o._type &&
412
403
  name == o.name &&
413
404
  url == o.url &&
414
- validate == o.validate &&
415
405
  ssl_ca_certificate == o.ssl_ca_certificate &&
416
406
  ssl_client_certificate == o.ssl_client_certificate &&
417
407
  ssl_client_key == o.ssl_client_key &&
@@ -433,7 +423,7 @@ module PulpMavenClient
433
423
  # Calculates hash code according to all attributes.
434
424
  # @return [Integer] Hash code
435
425
  def hash
436
- [_href, _created, _type, name, url, validate, ssl_ca_certificate, ssl_client_certificate, ssl_client_key, ssl_validation, proxy_url, username, password, _last_updated, download_concurrency, policy].hash
426
+ [_href, _created, _type, name, url, ssl_ca_certificate, ssl_client_certificate, ssl_client_key, ssl_validation, proxy_url, username, password, _last_updated, download_concurrency, policy].hash
437
427
  end
438
428
 
439
429
  # 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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.1.0b3.dev0.1561664543'
14
+ VERSION = '0.1.0b3.dev01565206788'
15
15
  end
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.0.0
11
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -24,19 +24,13 @@ Gem::Specification.new do |s|
24
24
  s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
27
- s.license = 'GPLv2'
27
+ s.license = 'GPL-2.0'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
- s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
- s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
- s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
- s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
- s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
34
 
41
35
  s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
36
  s.test_files = `find spec/*`.split("\n")
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -51,44 +51,6 @@ describe PulpMavenClient::ApiClient do
51
51
  end
52
52
  end
53
53
 
54
- describe 'params_encoding in #build_request' do
55
- let(:config) { PulpMavenClient::Configuration.new }
56
- let(:api_client) { PulpMavenClient::ApiClient.new(config) }
57
-
58
- it 'defaults to nil' do
59
- expect(PulpMavenClient::Configuration.default.params_encoding).to eq(nil)
60
- expect(config.params_encoding).to eq(nil)
61
-
62
- request = api_client.build_request(:get, '/test')
63
- expect(request.options[:params_encoding]).to eq(nil)
64
- end
65
-
66
- it 'can be customized' do
67
- config.params_encoding = :multi
68
- request = api_client.build_request(:get, '/test')
69
- expect(request.options[:params_encoding]).to eq(:multi)
70
- end
71
- end
72
-
73
- describe 'timeout in #build_request' do
74
- let(:config) { PulpMavenClient::Configuration.new }
75
- let(:api_client) { PulpMavenClient::ApiClient.new(config) }
76
-
77
- it 'defaults to 0' do
78
- expect(PulpMavenClient::Configuration.default.timeout).to eq(0)
79
- expect(config.timeout).to eq(0)
80
-
81
- request = api_client.build_request(:get, '/test')
82
- expect(request.options[:timeout]).to eq(0)
83
- end
84
-
85
- it 'can be customized' do
86
- config.timeout = 100
87
- request = api_client.build_request(:get, '/test')
88
- expect(request.options[:timeout]).to eq(100)
89
- end
90
- end
91
-
92
54
  describe '#deserialize' do
93
55
  it "handles Array<Integer>" do
94
56
  api_client = PulpMavenClient::ApiClient.new
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -32,19 +32,19 @@ describe 'InlineResponse2001' do
32
32
  expect(@instance).to be_instance_of(PulpMavenClient::InlineResponse2001)
33
33
  end
34
34
  end
35
- describe 'test attribute "_next"' do
35
+ describe 'test attribute "count"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "previous"' do
41
+ describe 'test attribute "_next"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "count"' do
47
+ describe 'test attribute "previous"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -32,19 +32,19 @@ describe 'InlineResponse2002' do
32
32
  expect(@instance).to be_instance_of(PulpMavenClient::InlineResponse2002)
33
33
  end
34
34
  end
35
- describe 'test attribute "_next"' do
35
+ describe 'test attribute "count"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "previous"' do
41
+ describe 'test attribute "_next"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "count"' do
47
+ describe 'test attribute "previous"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -32,19 +32,19 @@ describe 'InlineResponse200' do
32
32
  expect(@instance).to be_instance_of(PulpMavenClient::InlineResponse200)
33
33
  end
34
34
  end
35
- describe 'test attribute "_next"' do
35
+ describe 'test attribute "count"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "previous"' do
41
+ describe 'test attribute "_next"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "count"' do
47
+ describe 'test attribute "previous"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -62,12 +62,6 @@ describe 'MavenRemote' do
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "validate"' do
66
- it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
65
  describe 'test attribute "ssl_ca_certificate"' do
72
66
  it 'should work' do
73
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -125,7 +119,7 @@ describe 'MavenRemote' do
125
119
  describe 'test attribute "policy"' do
126
120
  it 'should work' do
127
121
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
122
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["immediate", "When syncing, download all metadata and content now."])
129
123
  # validator.allowable_values.each do |value|
130
124
  # expect { @instance.policy = value }.not_to raise_error
131
125
  # end
data/spec/spec_helper.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.0.0
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12