pulp_npm_client 0.1.0a1.dev01595640515 → 0.1.0a1.dev01595986114

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

Potentially problematic release.


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

Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +42 -32
  3. data/docs/ContentPackagesApi.md +33 -36
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsNpmApi.md +113 -71
  7. data/docs/InlineResponse200.md +3 -3
  8. data/docs/InlineResponse2001.md +3 -3
  9. data/docs/InlineResponse2002.md +3 -3
  10. data/docs/InlineResponse2003.md +3 -3
  11. data/docs/InlineResponse2004.md +3 -3
  12. data/docs/NpmNpmDistribution.md +1 -7
  13. data/docs/NpmNpmDistributionResponse.md +31 -0
  14. data/docs/NpmNpmRemote.md +4 -10
  15. data/docs/NpmNpmRemoteResponse.md +43 -0
  16. data/docs/NpmNpmRepository.md +4 -10
  17. data/docs/NpmNpmRepositoryResponse.md +29 -0
  18. data/docs/NpmPackage.md +5 -5
  19. data/docs/NpmPackageResponse.md +27 -0
  20. data/docs/PatchednpmNpmDistribution.md +25 -0
  21. data/docs/PatchednpmNpmRemote.md +37 -0
  22. data/docs/PatchednpmNpmRepository.md +21 -0
  23. data/docs/PolicyEnum.md +16 -0
  24. data/docs/RemotesNpmApi.md +133 -79
  25. data/docs/RepositoriesNpmApi.md +103 -85
  26. data/docs/RepositoriesNpmVersionsApi.md +95 -66
  27. data/docs/RepositoryAddRemoveContent.md +2 -2
  28. data/docs/RepositorySyncURL.md +1 -1
  29. data/docs/RepositoryVersion.md +1 -9
  30. data/docs/RepositoryVersionResponse.md +25 -0
  31. data/lib/pulp_npm_client.rb +12 -2
  32. data/lib/pulp_npm_client/api/content_packages_api.rb +34 -52
  33. data/lib/pulp_npm_client/api/distributions_npm_api.rb +129 -78
  34. data/lib/pulp_npm_client/api/remotes_npm_api.rb +163 -94
  35. data/lib/pulp_npm_client/api/repositories_npm_api.rb +119 -104
  36. data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +119 -80
  37. data/lib/pulp_npm_client/api_client.rb +2 -2
  38. data/lib/pulp_npm_client/api_error.rb +2 -2
  39. data/lib/pulp_npm_client/configuration.rb +3 -3
  40. data/lib/pulp_npm_client/models/async_operation_response.rb +3 -2
  41. data/lib/pulp_npm_client/models/content_summary.rb +9 -15
  42. data/lib/pulp_npm_client/models/content_summary_response.rb +240 -0
  43. data/lib/pulp_npm_client/models/inline_response200.rb +3 -13
  44. data/lib/pulp_npm_client/models/inline_response2001.rb +3 -13
  45. data/lib/pulp_npm_client/models/inline_response2002.rb +3 -13
  46. data/lib/pulp_npm_client/models/inline_response2003.rb +3 -13
  47. data/lib/pulp_npm_client/models/inline_response2004.rb +3 -13
  48. data/lib/pulp_npm_client/models/npm_npm_distribution.rb +4 -85
  49. data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +290 -0
  50. data/lib/pulp_npm_client/models/npm_npm_remote.rb +7 -199
  51. data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +368 -0
  52. data/lib/pulp_npm_client/models/npm_npm_repository.rb +18 -78
  53. data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +271 -0
  54. data/lib/pulp_npm_client/models/npm_package.rb +24 -79
  55. data/lib/pulp_npm_client/models/npm_package_response.rb +269 -0
  56. data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +251 -0
  57. data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +329 -0
  58. data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +229 -0
  59. data/lib/pulp_npm_client/models/policy_enum.rb +37 -0
  60. data/lib/pulp_npm_client/models/repository_add_remove_content.rb +5 -4
  61. data/lib/pulp_npm_client/models/repository_sync_url.rb +3 -8
  62. data/lib/pulp_npm_client/models/repository_version.rb +7 -43
  63. data/lib/pulp_npm_client/models/repository_version_response.rb +246 -0
  64. data/lib/pulp_npm_client/version.rb +3 -3
  65. data/pulp_npm_client.gemspec +4 -4
  66. data/spec/api/content_packages_api_spec.rb +14 -17
  67. data/spec/api/distributions_npm_api_spec.rb +38 -23
  68. data/spec/api/remotes_npm_api_spec.rb +50 -29
  69. data/spec/api/repositories_npm_api_spec.rb +30 -27
  70. data/spec/api/repositories_npm_versions_api_spec.rb +38 -26
  71. data/spec/api_client_spec.rb +2 -2
  72. data/spec/configuration_spec.rb +2 -2
  73. data/spec/models/async_operation_response_spec.rb +2 -2
  74. data/spec/models/content_summary_response_spec.rb +53 -0
  75. data/spec/models/content_summary_spec.rb +2 -2
  76. data/spec/models/inline_response2001_spec.rb +2 -2
  77. data/spec/models/inline_response2002_spec.rb +2 -2
  78. data/spec/models/inline_response2003_spec.rb +2 -2
  79. data/spec/models/inline_response2004_spec.rb +2 -2
  80. data/spec/models/inline_response200_spec.rb +2 -2
  81. data/spec/models/npm_npm_distribution_response_spec.rb +83 -0
  82. data/spec/models/npm_npm_distribution_spec.rb +2 -20
  83. data/spec/models/npm_npm_remote_response_spec.rb +119 -0
  84. data/spec/models/npm_npm_remote_spec.rb +2 -24
  85. data/spec/models/npm_npm_repository_response_spec.rb +77 -0
  86. data/spec/models/npm_npm_repository_spec.rb +5 -23
  87. data/spec/models/npm_package_response_spec.rb +71 -0
  88. data/spec/models/npm_package_spec.rb +6 -6
  89. data/spec/models/patchednpm_npm_distribution_spec.rb +65 -0
  90. data/spec/models/patchednpm_npm_remote_spec.rb +101 -0
  91. data/spec/models/patchednpm_npm_repository_spec.rb +53 -0
  92. data/spec/models/policy_enum_spec.rb +35 -0
  93. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  94. data/spec/models/repository_sync_url_spec.rb +2 -2
  95. data/spec/models/repository_version_response_spec.rb +65 -0
  96. data/spec/models/repository_version_spec.rb +2 -26
  97. data/spec/spec_helper.rb +2 -2
  98. metadata +44 -4
@@ -1,15 +1,15 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
  OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpNpmClient
14
- VERSION = '0.1.0a1.dev01595640515'
14
+ VERSION = '0.1.0a1.dev01595986114'
15
15
  end
@@ -3,10 +3,10 @@
3
3
  =begin
4
4
  #Pulp 3 API
5
5
 
6
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ #Fetch, Upload, Organize, and Distribute Software Packages
7
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
  OpenAPI Generator version: 4.2.3
12
12
 
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.version = PulpNpmClient::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
- s.email = [""]
23
+ s.email = ["pulp-list@redhat.com"]
24
24
  s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
- s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
26
+ s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
27
  s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -33,8 +33,7 @@ describe 'ContentPackagesApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
- # Create a package
37
- # \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
36
+ # Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
38
37
  # @param relative_path
39
38
  # @param name
40
39
  # @param version
@@ -42,7 +41,7 @@ describe 'ContentPackagesApi' do
42
41
  # @option opts [String] :artifact Artifact file representing the physical content
43
42
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
44
43
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
45
- # @return [NpmPackage]
44
+ # @return [NpmPackageResponse]
46
45
  describe 'create test' do
47
46
  it 'should work' do
48
47
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,17 +49,16 @@ describe 'ContentPackagesApi' do
50
49
  end
51
50
 
52
51
  # unit tests for list
53
- # List packages
54
- # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
52
+ # A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
55
53
  # @param [Hash] opts the optional parameters
56
- # @option opts [String] :ordering Which field to use when ordering the results.
57
- # @option opts [String] :name Filter results where name matches value
58
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
59
- # @option opts [String] :repository_version Repository Version referenced by HREF
60
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
62
54
  # @option opts [Integer] :limit Number of results to return per page.
55
+ # @option opts [String] :name name
56
+ # @option opts [String] :name__in name__in
63
57
  # @option opts [Integer] :offset The initial index from which to return the results.
58
+ # @option opts [String] :ordering Which field to use when ordering the results.
59
+ # @option opts [String] :repository_version repository_version
60
+ # @option opts [String] :repository_version_added repository_version_added
61
+ # @option opts [String] :repository_version_removed repository_version_removed
64
62
  # @option opts [String] :fields A list of fields to include in the response.
65
63
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
66
64
  # @return [InlineResponse200]
@@ -71,13 +69,12 @@ describe 'ContentPackagesApi' do
71
69
  end
72
70
 
73
71
  # unit tests for read
74
- # Inspect a package
75
- # Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
76
- # @param package_href URI of Package. e.g.: /pulp/api/v3/content/npm/packages/1/
72
+ # A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
73
+ # @param package_href
77
74
  # @param [Hash] opts the optional parameters
78
75
  # @option opts [String] :fields A list of fields to include in the response.
79
76
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
80
- # @return [NpmPackage]
77
+ # @return [NpmPackageResponse]
81
78
  describe 'read test' do
82
79
  it 'should work' do
83
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -33,9 +33,8 @@ describe 'DistributionsNpmApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
- # Create a npm distribution
37
36
  # Trigger an asynchronous create task
38
- # @param data
37
+ # @param npm_npm_distribution
39
38
  # @param [Hash] opts the optional parameters
40
39
  # @return [AsyncOperationResponse]
41
40
  describe 'create test' do
@@ -45,10 +44,16 @@ describe 'DistributionsNpmApi' do
45
44
  end
46
45
 
47
46
  # unit tests for delete
48
- # Delete a npm distribution
49
47
  # Trigger an asynchronous delete task
50
- # @param npm_distribution_href URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
48
+ # @param npm_distribution_href
51
49
  # @param [Hash] opts the optional parameters
50
+ # @option opts [String] :base_path base_path
51
+ # @option opts [String] :base_path__contains base_path__contains
52
+ # @option opts [String] :base_path__icontains base_path__icontains
53
+ # @option opts [String] :base_path__in base_path__in
54
+ # @option opts [String] :name name
55
+ # @option opts [String] :name__in name__in
56
+ # @option opts [String] :ordering Which field to use when ordering the results.
52
57
  # @return [AsyncOperationResponse]
53
58
  describe 'delete test' do
54
59
  it 'should work' do
@@ -57,18 +62,17 @@ describe 'DistributionsNpmApi' do
57
62
  end
58
63
 
59
64
  # unit tests for list
60
- # List npm distributions
61
65
  # ViewSet for NPM Distributions.
62
66
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :ordering Which field to use when ordering the results.
64
- # @option opts [String] :name
65
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
- # @option opts [String] :base_path
67
- # @option opts [String] :base_path__contains Filter results where base_path contains value
68
- # @option opts [String] :base_path__icontains Filter results where base_path contains value
69
- # @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
67
+ # @option opts [String] :base_path base_path
68
+ # @option opts [String] :base_path__contains base_path__contains
69
+ # @option opts [String] :base_path__icontains base_path__icontains
70
+ # @option opts [String] :base_path__in base_path__in
70
71
  # @option opts [Integer] :limit Number of results to return per page.
72
+ # @option opts [String] :name name
73
+ # @option opts [String] :name__in name__in
71
74
  # @option opts [Integer] :offset The initial index from which to return the results.
75
+ # @option opts [String] :ordering Which field to use when ordering the results.
72
76
  # @option opts [String] :fields A list of fields to include in the response.
73
77
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
74
78
  # @return [InlineResponse2001]
@@ -79,11 +83,17 @@ describe 'DistributionsNpmApi' do
79
83
  end
80
84
 
81
85
  # unit tests for partial_update
82
- # Partially update a npm distribution
83
86
  # Trigger an asynchronous partial update task
84
- # @param npm_distribution_href URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
85
- # @param data
87
+ # @param npm_distribution_href
88
+ # @param patchednpm_npm_distribution
86
89
  # @param [Hash] opts the optional parameters
90
+ # @option opts [String] :base_path base_path
91
+ # @option opts [String] :base_path__contains base_path__contains
92
+ # @option opts [String] :base_path__icontains base_path__icontains
93
+ # @option opts [String] :base_path__in base_path__in
94
+ # @option opts [String] :name name
95
+ # @option opts [String] :name__in name__in
96
+ # @option opts [String] :ordering Which field to use when ordering the results.
87
97
  # @return [AsyncOperationResponse]
88
98
  describe 'partial_update test' do
89
99
  it 'should work' do
@@ -92,13 +102,12 @@ describe 'DistributionsNpmApi' do
92
102
  end
93
103
 
94
104
  # unit tests for read
95
- # Inspect a npm distribution
96
105
  # ViewSet for NPM Distributions.
97
- # @param npm_distribution_href URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
106
+ # @param npm_distribution_href
98
107
  # @param [Hash] opts the optional parameters
99
108
  # @option opts [String] :fields A list of fields to include in the response.
100
109
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
101
- # @return [NpmNpmDistribution]
110
+ # @return [NpmNpmDistributionResponse]
102
111
  describe 'read test' do
103
112
  it 'should work' do
104
113
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -106,11 +115,17 @@ describe 'DistributionsNpmApi' do
106
115
  end
107
116
 
108
117
  # unit tests for update
109
- # Update a npm distribution
110
118
  # Trigger an asynchronous update task
111
- # @param npm_distribution_href URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
112
- # @param data
119
+ # @param npm_distribution_href
120
+ # @param npm_npm_distribution
113
121
  # @param [Hash] opts the optional parameters
122
+ # @option opts [String] :base_path base_path
123
+ # @option opts [String] :base_path__contains base_path__contains
124
+ # @option opts [String] :base_path__icontains base_path__icontains
125
+ # @option opts [String] :base_path__in base_path__in
126
+ # @option opts [String] :name name
127
+ # @option opts [String] :name__in name__in
128
+ # @option opts [String] :ordering Which field to use when ordering the results.
114
129
  # @return [AsyncOperationResponse]
115
130
  describe 'update test' do
116
131
  it 'should work' do
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -33,11 +33,10 @@ describe 'RemotesNpmApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
- # Create a npm remote
37
- # Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
38
- # @param data
36
+ # A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
37
+ # @param npm_npm_remote
39
38
  # @param [Hash] opts the optional parameters
40
- # @return [NpmNpmRemote]
39
+ # @return [NpmNpmRemoteResponse]
41
40
  describe 'create test' do
42
41
  it 'should work' do
43
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -45,10 +44,18 @@ describe 'RemotesNpmApi' do
45
44
  end
46
45
 
47
46
  # unit tests for delete
48
- # Delete a npm remote
49
47
  # Trigger an asynchronous delete task
50
- # @param npm_remote_href URI of Npm Remote. e.g.: /pulp/api/v3/remotes/npm/npm/1/
48
+ # @param npm_remote_href
51
49
  # @param [Hash] opts the optional parameters
50
+ # @option opts [String] :name name
51
+ # @option opts [String] :name__in name__in
52
+ # @option opts [String] :ordering Which field to use when ordering the results.
53
+ # @option opts [String] :pulp_last_updated pulp_last_updated
54
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
55
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
56
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
57
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
58
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
52
59
  # @return [AsyncOperationResponse]
53
60
  describe 'delete test' do
54
61
  it 'should work' do
@@ -57,20 +64,19 @@ describe 'RemotesNpmApi' do
57
64
  end
58
65
 
59
66
  # unit tests for list
60
- # List npm remotes
61
- # Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
67
+ # A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
62
68
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :ordering Which field to use when ordering the results.
64
- # @option opts [String] :name
65
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
- # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
67
- # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
68
- # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
69
- # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
70
- # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
71
- # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
72
69
  # @option opts [Integer] :limit Number of results to return per page.
70
+ # @option opts [String] :name name
71
+ # @option opts [String] :name__in name__in
73
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
+ # @option opts [String] :ordering Which field to use when ordering the results.
74
+ # @option opts [String] :pulp_last_updated pulp_last_updated
75
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
76
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
77
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
78
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
79
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
74
80
  # @option opts [String] :fields A list of fields to include in the response.
75
81
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
82
  # @return [InlineResponse2002]
@@ -81,11 +87,19 @@ describe 'RemotesNpmApi' do
81
87
  end
82
88
 
83
89
  # unit tests for partial_update
84
- # Partially update a npm remote
85
90
  # Trigger an asynchronous partial update task
86
- # @param npm_remote_href URI of Npm Remote. e.g.: /pulp/api/v3/remotes/npm/npm/1/
87
- # @param data
91
+ # @param npm_remote_href
92
+ # @param patchednpm_npm_remote
88
93
  # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :name name
95
+ # @option opts [String] :name__in name__in
96
+ # @option opts [String] :ordering Which field to use when ordering the results.
97
+ # @option opts [String] :pulp_last_updated pulp_last_updated
98
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
99
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
100
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
101
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
102
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
89
103
  # @return [AsyncOperationResponse]
90
104
  describe 'partial_update test' do
91
105
  it 'should work' do
@@ -94,13 +108,12 @@ describe 'RemotesNpmApi' do
94
108
  end
95
109
 
96
110
  # unit tests for read
97
- # Inspect a npm remote
98
- # Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
99
- # @param npm_remote_href URI of Npm Remote. e.g.: /pulp/api/v3/remotes/npm/npm/1/
111
+ # A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
112
+ # @param npm_remote_href
100
113
  # @param [Hash] opts the optional parameters
101
114
  # @option opts [String] :fields A list of fields to include in the response.
102
115
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
103
- # @return [NpmNpmRemote]
116
+ # @return [NpmNpmRemoteResponse]
104
117
  describe 'read test' do
105
118
  it 'should work' do
106
119
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -108,11 +121,19 @@ describe 'RemotesNpmApi' do
108
121
  end
109
122
 
110
123
  # unit tests for update
111
- # Update a npm remote
112
124
  # Trigger an asynchronous update task
113
- # @param npm_remote_href URI of Npm Remote. e.g.: /pulp/api/v3/remotes/npm/npm/1/
114
- # @param data
125
+ # @param npm_remote_href
126
+ # @param npm_npm_remote
115
127
  # @param [Hash] opts the optional parameters
128
+ # @option opts [String] :name name
129
+ # @option opts [String] :name__in name__in
130
+ # @option opts [String] :ordering Which field to use when ordering the results.
131
+ # @option opts [String] :pulp_last_updated pulp_last_updated
132
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
133
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
134
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
135
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
136
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
116
137
  # @return [AsyncOperationResponse]
117
138
  describe 'update test' do
118
139
  it 'should work' do
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -33,11 +33,10 @@ describe 'RepositoriesNpmApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
- # Create a npm repository
37
- # Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
38
- # @param data
36
+ # A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
37
+ # @param npm_npm_repository
39
38
  # @param [Hash] opts the optional parameters
40
- # @return [NpmNpmRepository]
39
+ # @return [NpmNpmRepositoryResponse]
41
40
  describe 'create test' do
42
41
  it 'should work' do
43
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -45,10 +44,12 @@ describe 'RepositoriesNpmApi' do
45
44
  end
46
45
 
47
46
  # unit tests for delete
48
- # Delete a npm repository
49
47
  # Trigger an asynchronous delete task
50
- # @param npm_repository_href URI of Npm Repository. e.g.: /pulp/api/v3/repositories/npm/npm/1/
48
+ # @param npm_repository_href
51
49
  # @param [Hash] opts the optional parameters
50
+ # @option opts [String] :name name
51
+ # @option opts [String] :name__in name__in
52
+ # @option opts [String] :ordering Which field to use when ordering the results.
52
53
  # @return [AsyncOperationResponse]
53
54
  describe 'delete test' do
54
55
  it 'should work' do
@@ -57,14 +58,13 @@ describe 'RepositoriesNpmApi' do
57
58
  end
58
59
 
59
60
  # unit tests for list
60
- # List npm repositorys
61
- # Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
61
+ # A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
62
62
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :ordering Which field to use when ordering the results.
64
- # @option opts [String] :name
65
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
63
  # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [String] :name name
65
+ # @option opts [String] :name__in name__in
67
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
+ # @option opts [String] :ordering Which field to use when ordering the results.
68
68
  # @option opts [String] :fields A list of fields to include in the response.
69
69
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
70
  # @return [InlineResponse2003]
@@ -77,8 +77,8 @@ describe 'RepositoriesNpmApi' do
77
77
  # unit tests for modify
78
78
  # Modify Repository Content
79
79
  # Trigger an asynchronous task to create a new repository version.
80
- # @param npm_repository_href URI of Npm Repository. e.g.: /pulp/api/v3/repositories/npm/npm/1/
81
- # @param data
80
+ # @param npm_repository_href
81
+ # @param repository_add_remove_content
82
82
  # @param [Hash] opts the optional parameters
83
83
  # @return [AsyncOperationResponse]
84
84
  describe 'modify test' do
@@ -88,11 +88,13 @@ describe 'RepositoriesNpmApi' do
88
88
  end
89
89
 
90
90
  # unit tests for partial_update
91
- # Partially update a npm repository
92
91
  # Trigger an asynchronous partial update task
93
- # @param npm_repository_href URI of Npm Repository. e.g.: /pulp/api/v3/repositories/npm/npm/1/
94
- # @param data
92
+ # @param npm_repository_href
93
+ # @param patchednpm_npm_repository
95
94
  # @param [Hash] opts the optional parameters
95
+ # @option opts [String] :name name
96
+ # @option opts [String] :name__in name__in
97
+ # @option opts [String] :ordering Which field to use when ordering the results.
96
98
  # @return [AsyncOperationResponse]
97
99
  describe 'partial_update test' do
98
100
  it 'should work' do
@@ -101,13 +103,12 @@ describe 'RepositoriesNpmApi' do
101
103
  end
102
104
 
103
105
  # unit tests for read
104
- # Inspect a npm repository
105
- # Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
106
- # @param npm_repository_href URI of Npm Repository. e.g.: /pulp/api/v3/repositories/npm/npm/1/
106
+ # A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
107
+ # @param npm_repository_href
107
108
  # @param [Hash] opts the optional parameters
108
109
  # @option opts [String] :fields A list of fields to include in the response.
109
110
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
- # @return [NpmNpmRepository]
111
+ # @return [NpmNpmRepositoryResponse]
111
112
  describe 'read test' do
112
113
  it 'should work' do
113
114
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -117,8 +118,8 @@ describe 'RepositoriesNpmApi' do
117
118
  # unit tests for sync
118
119
  # Sync from remote
119
120
  # Trigger an asynchronous task to sync content.
120
- # @param npm_repository_href URI of Npm Repository. e.g.: /pulp/api/v3/repositories/npm/npm/1/
121
- # @param data
121
+ # @param npm_repository_href
122
+ # @param repository_sync_url
122
123
  # @param [Hash] opts the optional parameters
123
124
  # @return [AsyncOperationResponse]
124
125
  describe 'sync test' do
@@ -128,11 +129,13 @@ describe 'RepositoriesNpmApi' do
128
129
  end
129
130
 
130
131
  # unit tests for update
131
- # Update a npm repository
132
132
  # Trigger an asynchronous update task
133
- # @param npm_repository_href URI of Npm Repository. e.g.: /pulp/api/v3/repositories/npm/npm/1/
134
- # @param data
133
+ # @param npm_repository_href
134
+ # @param npm_npm_repository
135
135
  # @param [Hash] opts the optional parameters
136
+ # @option opts [String] :name name
137
+ # @option opts [String] :name__in name__in
138
+ # @option opts [String] :ordering Which field to use when ordering the results.
136
139
  # @return [AsyncOperationResponse]
137
140
  describe 'update test' do
138
141
  it 'should work' do