cloudsmith-api 2.0.26 → 2.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +24 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/CargoPackageUpload.md +2 -0
- data/docs/CocoapodsPackageUpload.md +2 -0
- data/docs/ComposerPackageUpload.md +2 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/CondaPackageUpload.md +2 -0
- data/docs/ConnectedRepository.md +14 -0
- data/docs/ConnectedRepositoryRequest.md +10 -0
- data/docs/ConnectedRepositoryRequestPatch.md +10 -0
- data/docs/CranPackageUpload.md +2 -0
- data/docs/DartPackageUpload.md +2 -0
- data/docs/DebPackageUpload.md +2 -0
- data/docs/DockerPackageUpload.md +2 -0
- data/docs/EntitlementsApi.md +2 -0
- data/docs/FormatSupportUpstream.md +1 -0
- data/docs/GenericPackageUpload.md +2 -0
- data/docs/GoPackageUpload.md +2 -0
- data/docs/HelmPackageUpload.md +2 -0
- data/docs/HexPackageUpload.md +2 -0
- data/docs/HuggingfacePackageUpload.md +2 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +8 -0
- data/docs/LuarocksPackageUpload.md +2 -0
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/McpPackageUpload.md +2 -0
- data/docs/MemberTeams.md +10 -0
- data/docs/NpmPackageUpload.md +2 -0
- data/docs/NugetPackageUpload.md +2 -0
- data/docs/OrganizationCustomDomainNestedRepo.md +9 -0
- data/docs/OrganizationCustomDomains.md +25 -0
- data/docs/OrganizationMembership.md +1 -0
- data/docs/OrganizationSAMLAuth.md +2 -0
- data/docs/OrganizationSAMLAuthRequestPatch.md +2 -0
- data/docs/OrgsApi.md +68 -1
- data/docs/P2PackageUpload.md +2 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackageQuarantine.md +2 -0
- data/docs/PackageResync.md +2 -0
- data/docs/PackageStatus.md +1 -0
- data/docs/PackageTag.md +2 -0
- data/docs/PackagesApi.md +22 -6
- data/docs/PythonPackageUpload.md +2 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/RecycleBinApi.md +24 -24
- data/docs/ReposApi.md +594 -3
- data/docs/Repository.md +2 -0
- data/docs/RepositoryCreate.md +2 -0
- data/docs/RepositoryCreateRequest.md +1 -0
- data/docs/RepositoryEd25519Key.md +14 -0
- data/docs/RepositoryEd25519KeyCreate.md +9 -0
- data/docs/RepositoryRequestPatch.md +1 -0
- data/docs/RpmPackageUpload.md +2 -0
- data/docs/RubyPackageUpload.md +2 -0
- data/docs/ServiceTeams.md +1 -0
- data/docs/SwiftPackageUpload.md +2 -0
- data/docs/TerraformPackageUpload.md +2 -0
- data/docs/UserApi.md +2 -2
- data/docs/VagrantPackageUpload.md +2 -0
- data/docs/VsxPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/entitlements_api.rb +3 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +63 -0
- data/lib/cloudsmith-api/api/packages_api.rb +15 -0
- data/lib/cloudsmith-api/api/recycle_bin_api.rb +41 -41
- data/lib/cloudsmith-api/api/repos_api.rb +581 -4
- data/lib/cloudsmith-api/api/user_api.rb +3 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cargo_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/composer_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/conan_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conda_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/connected_repository.rb +285 -0
- data/lib/cloudsmith-api/models/connected_repository_request.rb +211 -0
- data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +206 -0
- data/lib/cloudsmith-api/models/cran_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cran_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/dart_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/dart_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/deb_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/deb_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/docker_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/format_support_upstream.rb +16 -1
- data/lib/cloudsmith-api/models/generic_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/generic_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/go_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/helm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/hex_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/hex_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/inline_response_200_1.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_2.rb +191 -0
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/member_teams.rb +238 -0
- data/lib/cloudsmith-api/models/npm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/npm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/nuget_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/organization_custom_domain_nested_repo.rb +195 -0
- data/lib/cloudsmith-api/models/organization_custom_domains.rb +355 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +12 -1
- data/lib/cloudsmith-api/models/organization_saml_auth.rb +24 -4
- data/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb +24 -4
- data/lib/cloudsmith-api/models/p2_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/package.rb +20 -1
- data/lib/cloudsmith-api/models/package_copy.rb +20 -1
- data/lib/cloudsmith-api/models/package_move.rb +20 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +20 -1
- data/lib/cloudsmith-api/models/package_resync.rb +20 -1
- data/lib/cloudsmith-api/models/package_status.rb +10 -1
- data/lib/cloudsmith-api/models/package_tag.rb +20 -1
- data/lib/cloudsmith-api/models/python_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/python_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/raw_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/repository.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create_request.rb +11 -1
- data/lib/cloudsmith-api/models/repository_ed25519_key.rb +243 -0
- data/lib/cloudsmith-api/models/repository_ed25519_key_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/service_teams.rb +11 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +20 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +9 -0
- data/spec/api/entitlements_api_spec.rb +1 -0
- data/spec/api/orgs_api_spec.rb +15 -0
- data/spec/api/packages_api_spec.rb +5 -0
- data/spec/api/recycle_bin_api_spec.rb +12 -12
- data/spec/api/repos_api_spec.rb +129 -2
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_spec.rb +12 -0
- data/spec/models/cargo_package_upload_spec.rb +12 -0
- data/spec/models/cargo_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cargo_upstream_request_spec.rb +1 -1
- data/spec/models/cargo_upstream_spec.rb +1 -1
- data/spec/models/cocoapods_package_upload_spec.rb +12 -0
- data/spec/models/composer_package_upload_spec.rb +12 -0
- data/spec/models/composer_upstream_request_patch_spec.rb +1 -1
- data/spec/models/composer_upstream_request_spec.rb +1 -1
- data/spec/models/composer_upstream_spec.rb +1 -1
- data/spec/models/conan_package_upload_spec.rb +12 -0
- data/spec/models/conda_package_upload_spec.rb +12 -0
- data/spec/models/conda_upstream_request_patch_spec.rb +1 -1
- data/spec/models/conda_upstream_request_spec.rb +1 -1
- data/spec/models/conda_upstream_spec.rb +1 -1
- data/spec/models/connected_repository_request_patch_spec.rb +53 -0
- data/spec/models/connected_repository_request_spec.rb +53 -0
- data/spec/models/connected_repository_spec.rb +81 -0
- data/spec/models/cran_package_upload_spec.rb +12 -0
- data/spec/models/cran_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cran_upstream_request_spec.rb +1 -1
- data/spec/models/cran_upstream_spec.rb +1 -1
- data/spec/models/dart_package_upload_spec.rb +12 -0
- data/spec/models/dart_upstream_request_patch_spec.rb +1 -1
- data/spec/models/dart_upstream_request_spec.rb +1 -1
- data/spec/models/dart_upstream_spec.rb +1 -1
- data/spec/models/deb_package_upload_spec.rb +12 -0
- data/spec/models/deb_upstream_request_patch_spec.rb +1 -1
- data/spec/models/deb_upstream_request_spec.rb +1 -1
- data/spec/models/deb_upstream_spec.rb +1 -1
- data/spec/models/docker_package_upload_spec.rb +12 -0
- data/spec/models/format_support_upstream_spec.rb +6 -0
- data/spec/models/generic_package_upload_spec.rb +12 -0
- data/spec/models/generic_upstream_request_patch_spec.rb +1 -1
- data/spec/models/generic_upstream_request_spec.rb +1 -1
- data/spec/models/generic_upstream_spec.rb +1 -1
- data/spec/models/go_package_upload_spec.rb +12 -0
- data/spec/models/helm_package_upload_spec.rb +12 -0
- data/spec/models/helm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/helm_upstream_request_spec.rb +1 -1
- data/spec/models/helm_upstream_spec.rb +1 -1
- data/spec/models/hex_package_upload_spec.rb +12 -0
- data/spec/models/hex_upstream_request_patch_spec.rb +1 -1
- data/spec/models/hex_upstream_request_spec.rb +1 -1
- data/spec/models/hex_upstream_spec.rb +1 -1
- data/spec/models/huggingface_package_upload_spec.rb +12 -0
- data/spec/models/inline_response_200_2_spec.rb +41 -0
- data/spec/models/luarocks_package_upload_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -0
- data/spec/models/mcp_package_upload_spec.rb +12 -0
- data/spec/models/member_teams_spec.rb +57 -0
- data/spec/models/npm_package_upload_spec.rb +12 -0
- data/spec/models/npm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/npm_upstream_request_spec.rb +1 -1
- data/spec/models/npm_upstream_spec.rb +1 -1
- data/spec/models/nuget_package_upload_spec.rb +12 -0
- data/spec/models/nuget_upstream_request_patch_spec.rb +1 -1
- data/spec/models/nuget_upstream_request_spec.rb +1 -1
- data/spec/models/nuget_upstream_spec.rb +1 -1
- data/spec/models/organization_custom_domain_nested_repo_spec.rb +47 -0
- data/spec/models/organization_custom_domains_spec.rb +143 -0
- data/spec/models/organization_membership_spec.rb +6 -0
- data/spec/models/organization_saml_auth_request_patch_spec.rb +12 -0
- data/spec/models/organization_saml_auth_spec.rb +12 -0
- data/spec/models/p2_package_upload_spec.rb +12 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_quarantine_spec.rb +12 -0
- data/spec/models/package_resync_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/package_status_spec.rb +6 -0
- data/spec/models/package_tag_spec.rb +12 -0
- data/spec/models/python_package_upload_spec.rb +12 -0
- data/spec/models/python_upstream_request_patch_spec.rb +1 -1
- data/spec/models/python_upstream_request_spec.rb +1 -1
- data/spec/models/python_upstream_spec.rb +1 -1
- data/spec/models/raw_package_upload_spec.rb +12 -0
- data/spec/models/repository_create_request_spec.rb +6 -0
- data/spec/models/repository_create_spec.rb +12 -0
- data/spec/models/repository_ed25519_key_create_spec.rb +47 -0
- data/spec/models/repository_ed25519_key_spec.rb +77 -0
- data/spec/models/repository_request_patch_spec.rb +6 -0
- data/spec/models/repository_spec.rb +12 -0
- data/spec/models/rpm_package_upload_spec.rb +12 -0
- data/spec/models/ruby_package_upload_spec.rb +12 -0
- data/spec/models/service_teams_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +12 -0
- data/spec/models/terraform_package_upload_spec.rb +12 -0
- data/spec/models/vagrant_package_upload_spec.rb +12 -0
- data/spec/models/vsx_package_upload_spec.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- metadata +41 -5
|
@@ -68,6 +68,7 @@ describe 'PackagesApi' do
|
|
|
68
68
|
# @param repo
|
|
69
69
|
# @param identifier
|
|
70
70
|
# @param [Hash] opts the optional parameters
|
|
71
|
+
# @option opts [BOOLEAN] :include_connected_repositories If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
71
72
|
# @return [PackageDependencies]
|
|
72
73
|
describe 'packages_dependencies test' do
|
|
73
74
|
it 'should work' do
|
|
@@ -85,6 +86,7 @@ describe 'PackagesApi' do
|
|
|
85
86
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
86
87
|
# @option opts [String] :group_by A field to group packages by. Available options: name, backend_kind.
|
|
87
88
|
# @option opts [BOOLEAN] :hide_subcomponents Whether to hide packages which are subcomponents of another package in the results
|
|
89
|
+
# @option opts [BOOLEAN] :include_connected_repositories If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false.
|
|
88
90
|
# @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages.
|
|
89
91
|
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind.
|
|
90
92
|
# @return [InlineResponse200]
|
|
@@ -102,6 +104,7 @@ describe 'PackagesApi' do
|
|
|
102
104
|
# @param [Hash] opts the optional parameters
|
|
103
105
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
104
106
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
107
|
+
# @option opts [BOOLEAN] :include_connected_repositories If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
105
108
|
# @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages.
|
|
106
109
|
# @option opts [String] :sort A field for sorting objects in ascending or descending order.
|
|
107
110
|
# @return [Array<Package>]
|
|
@@ -148,6 +151,7 @@ describe 'PackagesApi' do
|
|
|
148
151
|
# @param repo
|
|
149
152
|
# @param identifier
|
|
150
153
|
# @param [Hash] opts the optional parameters
|
|
154
|
+
# @option opts [BOOLEAN] :include_connected_repositories If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
151
155
|
# @return [Package]
|
|
152
156
|
describe 'packages_read test' do
|
|
153
157
|
it 'should work' do
|
|
@@ -190,6 +194,7 @@ describe 'PackagesApi' do
|
|
|
190
194
|
# @param repo
|
|
191
195
|
# @param identifier
|
|
192
196
|
# @param [Hash] opts the optional parameters
|
|
197
|
+
# @option opts [BOOLEAN] :include_connected_repositories If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
193
198
|
# @return [PackageStatus]
|
|
194
199
|
describe 'packages_status test' do
|
|
195
200
|
it 'should work' do
|
|
@@ -32,6 +32,18 @@ describe 'RecycleBinApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for recycle_bin_action
|
|
36
|
+
# Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
|
|
37
|
+
# @param owner
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [PackageRecycleBin] :data
|
|
40
|
+
# @return [PackageBulkActionResponse]
|
|
41
|
+
describe 'recycle_bin_action test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
35
47
|
# unit tests for recycle_bin_list
|
|
36
48
|
# List soft-deleted packages in recycle bin
|
|
37
49
|
# Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
|
|
@@ -47,16 +59,4 @@ describe 'RecycleBinApi' do
|
|
|
47
59
|
end
|
|
48
60
|
end
|
|
49
61
|
|
|
50
|
-
# unit tests for recycle_bin_recycle_bin_action
|
|
51
|
-
# Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
|
|
52
|
-
# @param owner
|
|
53
|
-
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [PackageRecycleBin] :data
|
|
55
|
-
# @return [PackageBulkActionResponse]
|
|
56
|
-
describe 'recycle_bin_recycle_bin_action test' do
|
|
57
|
-
it 'should work' do
|
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
|
|
62
62
|
end
|
data/spec/api/repos_api_spec.rb
CHANGED
|
@@ -72,6 +72,93 @@ describe 'ReposApi' do
|
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
+
# unit tests for repos_connected_create
|
|
76
|
+
# Create a connected repository for this repository.
|
|
77
|
+
# Create a connected repository for this repository.
|
|
78
|
+
# @param owner
|
|
79
|
+
# @param identifier
|
|
80
|
+
# @param [Hash] opts the optional parameters
|
|
81
|
+
# @option opts [ConnectedRepositoryRequest] :data
|
|
82
|
+
# @return [ConnectedRepository]
|
|
83
|
+
describe 'repos_connected_create test' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# unit tests for repos_connected_delete
|
|
90
|
+
# Delete a connected repository for this repository.
|
|
91
|
+
# Delete a connected repository for this repository.
|
|
92
|
+
# @param owner
|
|
93
|
+
# @param identifier
|
|
94
|
+
# @param slug_perm
|
|
95
|
+
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @return [nil]
|
|
97
|
+
describe 'repos_connected_delete test' do
|
|
98
|
+
it 'should work' do
|
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# unit tests for repos_connected_list
|
|
104
|
+
# List connected repositories for this repository.
|
|
105
|
+
# List connected repositories for this repository.
|
|
106
|
+
# @param owner
|
|
107
|
+
# @param identifier
|
|
108
|
+
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
110
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
111
|
+
# @return [InlineResponse2001]
|
|
112
|
+
describe 'repos_connected_list test' do
|
|
113
|
+
it 'should work' do
|
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# unit tests for repos_connected_partial_update
|
|
119
|
+
# Partially update a connected repository for this repository.
|
|
120
|
+
# Partially update a connected repository for this repository.
|
|
121
|
+
# @param owner
|
|
122
|
+
# @param identifier
|
|
123
|
+
# @param slug_perm
|
|
124
|
+
# @param [Hash] opts the optional parameters
|
|
125
|
+
# @option opts [ConnectedRepositoryRequestPatch] :data
|
|
126
|
+
# @return [ConnectedRepository]
|
|
127
|
+
describe 'repos_connected_partial_update test' do
|
|
128
|
+
it 'should work' do
|
|
129
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# unit tests for repos_connected_read
|
|
134
|
+
# Retrieve a connected repository for this repository.
|
|
135
|
+
# Retrieve a connected repository for this repository.
|
|
136
|
+
# @param owner
|
|
137
|
+
# @param identifier
|
|
138
|
+
# @param slug_perm
|
|
139
|
+
# @param [Hash] opts the optional parameters
|
|
140
|
+
# @return [ConnectedRepository]
|
|
141
|
+
describe 'repos_connected_read test' do
|
|
142
|
+
it 'should work' do
|
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# unit tests for repos_connected_update
|
|
148
|
+
# Update a connected repository for this repository.
|
|
149
|
+
# Update a connected repository for this repository.
|
|
150
|
+
# @param owner
|
|
151
|
+
# @param identifier
|
|
152
|
+
# @param slug_perm
|
|
153
|
+
# @param [Hash] opts the optional parameters
|
|
154
|
+
# @option opts [ConnectedRepositoryRequest] :data
|
|
155
|
+
# @return [ConnectedRepository]
|
|
156
|
+
describe 'repos_connected_update test' do
|
|
157
|
+
it 'should work' do
|
|
158
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
75
162
|
# unit tests for repos_create
|
|
76
163
|
# Create a new repository in a given namespace.
|
|
77
164
|
# Create a new repository in a given namespace.
|
|
@@ -86,7 +173,7 @@ describe 'ReposApi' do
|
|
|
86
173
|
end
|
|
87
174
|
|
|
88
175
|
# unit tests for repos_delete
|
|
89
|
-
# Delete a repository in a given namespace.Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
|
|
176
|
+
# Delete a repository in a given namespace. Note: Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
|
|
90
177
|
# @param owner
|
|
91
178
|
# @param identifier
|
|
92
179
|
# @param [Hash] opts the optional parameters
|
|
@@ -137,6 +224,46 @@ describe 'ReposApi' do
|
|
|
137
224
|
end
|
|
138
225
|
end
|
|
139
226
|
|
|
227
|
+
# unit tests for repos_ed25519_create
|
|
228
|
+
# Set the active Ed25519 key for the Repository.
|
|
229
|
+
# Set the active Ed25519 key for the Repository.
|
|
230
|
+
# @param owner
|
|
231
|
+
# @param identifier
|
|
232
|
+
# @param [Hash] opts the optional parameters
|
|
233
|
+
# @option opts [RepositoryEd25519KeyCreate] :data
|
|
234
|
+
# @return [RepositoryEd25519Key]
|
|
235
|
+
describe 'repos_ed25519_create test' do
|
|
236
|
+
it 'should work' do
|
|
237
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# unit tests for repos_ed25519_list
|
|
242
|
+
# Retrieve the active Ed25519 key for the Repository.
|
|
243
|
+
# Retrieve the active Ed25519 key for the Repository.
|
|
244
|
+
# @param owner
|
|
245
|
+
# @param identifier
|
|
246
|
+
# @param [Hash] opts the optional parameters
|
|
247
|
+
# @return [RepositoryEd25519Key]
|
|
248
|
+
describe 'repos_ed25519_list test' do
|
|
249
|
+
it 'should work' do
|
|
250
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
# unit tests for repos_ed25519_regenerate
|
|
255
|
+
# Regenerate Ed25519 Key for the Repository.
|
|
256
|
+
# Regenerate Ed25519 Key for the Repository.
|
|
257
|
+
# @param owner
|
|
258
|
+
# @param identifier
|
|
259
|
+
# @param [Hash] opts the optional parameters
|
|
260
|
+
# @return [RepositoryEd25519Key]
|
|
261
|
+
describe 'repos_ed25519_regenerate test' do
|
|
262
|
+
it 'should work' do
|
|
263
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
|
|
140
267
|
# unit tests for repos_geoip_disable
|
|
141
268
|
# Disable GeoIP for this repository.
|
|
142
269
|
# Disable GeoIP for this repository.
|
|
@@ -268,7 +395,7 @@ describe 'ReposApi' do
|
|
|
268
395
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
269
396
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
270
397
|
# @option opts [String] :query A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type.
|
|
271
|
-
# @option opts [String] :sort A field for sorting objects in ascending or descending order.
|
|
398
|
+
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Available options are: created_at, downloads, favorites, name, package_count, size.
|
|
272
399
|
# @return [Array<Repository>]
|
|
273
400
|
describe 'repos_namespace_list test' do
|
|
274
401
|
it 'should work' do
|
data/spec/api/user_api_spec.rb
CHANGED
|
@@ -72,7 +72,7 @@ describe 'UserApi' do
|
|
|
72
72
|
# @param [Hash] opts the optional parameters
|
|
73
73
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
74
74
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
75
|
-
# @return [
|
|
75
|
+
# @return [InlineResponse2002]
|
|
76
76
|
describe 'user_tokens_list test' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -200,6 +200,12 @@ describe 'AlpinePackageUpload' do
|
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
+
describe 'test attribute "is_hidden"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
203
209
|
describe 'test attribute "is_moveable"' do
|
|
204
210
|
it 'should work' do
|
|
205
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -302,6 +308,12 @@ describe 'AlpinePackageUpload' do
|
|
|
302
308
|
end
|
|
303
309
|
end
|
|
304
310
|
|
|
311
|
+
describe 'test attribute "osi_approved"' do
|
|
312
|
+
it 'should work' do
|
|
313
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
305
317
|
describe 'test attribute "package_type"' do
|
|
306
318
|
it 'should work' do
|
|
307
319
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -200,6 +200,12 @@ describe 'CargoPackageUpload' do
|
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
+
describe 'test attribute "is_hidden"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
203
209
|
describe 'test attribute "is_moveable"' do
|
|
204
210
|
it 'should work' do
|
|
205
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -302,6 +308,12 @@ describe 'CargoPackageUpload' do
|
|
|
302
308
|
end
|
|
303
309
|
end
|
|
304
310
|
|
|
311
|
+
describe 'test attribute "osi_approved"' do
|
|
312
|
+
it 'should work' do
|
|
313
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
305
317
|
describe 'test attribute "package_type"' do
|
|
306
318
|
it 'should work' do
|
|
307
319
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -87,7 +87,7 @@ describe 'CargoUpstreamRequestPatch' do
|
|
|
87
87
|
describe 'test attribute "mode"' do
|
|
88
88
|
it 'should work' do
|
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
91
91
|
# validator.allowable_values.each do |value|
|
|
92
92
|
# expect { @instance.mode = value }.not_to raise_error
|
|
93
93
|
# end
|
|
@@ -87,7 +87,7 @@ describe 'CargoUpstreamRequest' do
|
|
|
87
87
|
describe 'test attribute "mode"' do
|
|
88
88
|
it 'should work' do
|
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
91
91
|
# validator.allowable_values.each do |value|
|
|
92
92
|
# expect { @instance.mode = value }.not_to raise_error
|
|
93
93
|
# end
|
|
@@ -145,7 +145,7 @@ describe 'CargoUpstream' do
|
|
|
145
145
|
describe 'test attribute "mode"' do
|
|
146
146
|
it 'should work' do
|
|
147
147
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
148
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
148
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
149
149
|
# validator.allowable_values.each do |value|
|
|
150
150
|
# expect { @instance.mode = value }.not_to raise_error
|
|
151
151
|
# end
|
|
@@ -200,6 +200,12 @@ describe 'CocoapodsPackageUpload' do
|
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
+
describe 'test attribute "is_hidden"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
203
209
|
describe 'test attribute "is_moveable"' do
|
|
204
210
|
it 'should work' do
|
|
205
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -302,6 +308,12 @@ describe 'CocoapodsPackageUpload' do
|
|
|
302
308
|
end
|
|
303
309
|
end
|
|
304
310
|
|
|
311
|
+
describe 'test attribute "osi_approved"' do
|
|
312
|
+
it 'should work' do
|
|
313
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
305
317
|
describe 'test attribute "package_type"' do
|
|
306
318
|
it 'should work' do
|
|
307
319
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -200,6 +200,12 @@ describe 'ComposerPackageUpload' do
|
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
+
describe 'test attribute "is_hidden"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
203
209
|
describe 'test attribute "is_moveable"' do
|
|
204
210
|
it 'should work' do
|
|
205
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -302,6 +308,12 @@ describe 'ComposerPackageUpload' do
|
|
|
302
308
|
end
|
|
303
309
|
end
|
|
304
310
|
|
|
311
|
+
describe 'test attribute "osi_approved"' do
|
|
312
|
+
it 'should work' do
|
|
313
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
305
317
|
describe 'test attribute "package_type"' do
|
|
306
318
|
it 'should work' do
|
|
307
319
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -87,7 +87,7 @@ describe 'ComposerUpstreamRequestPatch' do
|
|
|
87
87
|
describe 'test attribute "mode"' do
|
|
88
88
|
it 'should work' do
|
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
91
91
|
# validator.allowable_values.each do |value|
|
|
92
92
|
# expect { @instance.mode = value }.not_to raise_error
|
|
93
93
|
# end
|
|
@@ -87,7 +87,7 @@ describe 'ComposerUpstreamRequest' do
|
|
|
87
87
|
describe 'test attribute "mode"' do
|
|
88
88
|
it 'should work' do
|
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
91
91
|
# validator.allowable_values.each do |value|
|
|
92
92
|
# expect { @instance.mode = value }.not_to raise_error
|
|
93
93
|
# end
|
|
@@ -145,7 +145,7 @@ describe 'ComposerUpstream' do
|
|
|
145
145
|
describe 'test attribute "mode"' do
|
|
146
146
|
it 'should work' do
|
|
147
147
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
148
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
148
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
149
149
|
# validator.allowable_values.each do |value|
|
|
150
150
|
# expect { @instance.mode = value }.not_to raise_error
|
|
151
151
|
# end
|
|
@@ -212,6 +212,12 @@ describe 'ConanPackageUpload' do
|
|
|
212
212
|
end
|
|
213
213
|
end
|
|
214
214
|
|
|
215
|
+
describe 'test attribute "is_hidden"' do
|
|
216
|
+
it 'should work' do
|
|
217
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
215
221
|
describe 'test attribute "is_moveable"' do
|
|
216
222
|
it 'should work' do
|
|
217
223
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -314,6 +320,12 @@ describe 'ConanPackageUpload' do
|
|
|
314
320
|
end
|
|
315
321
|
end
|
|
316
322
|
|
|
323
|
+
describe 'test attribute "osi_approved"' do
|
|
324
|
+
it 'should work' do
|
|
325
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
|
|
317
329
|
describe 'test attribute "package_type"' do
|
|
318
330
|
it 'should work' do
|
|
319
331
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -200,6 +200,12 @@ describe 'CondaPackageUpload' do
|
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
+
describe 'test attribute "is_hidden"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
203
209
|
describe 'test attribute "is_moveable"' do
|
|
204
210
|
it 'should work' do
|
|
205
211
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -302,6 +308,12 @@ describe 'CondaPackageUpload' do
|
|
|
302
308
|
end
|
|
303
309
|
end
|
|
304
310
|
|
|
311
|
+
describe 'test attribute "osi_approved"' do
|
|
312
|
+
it 'should work' do
|
|
313
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
|
|
305
317
|
describe 'test attribute "package_type"' do
|
|
306
318
|
it 'should work' do
|
|
307
319
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -87,7 +87,7 @@ describe 'CondaUpstreamRequestPatch' do
|
|
|
87
87
|
describe 'test attribute "mode"' do
|
|
88
88
|
it 'should work' do
|
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
91
91
|
# validator.allowable_values.each do |value|
|
|
92
92
|
# expect { @instance.mode = value }.not_to raise_error
|
|
93
93
|
# end
|
|
@@ -87,7 +87,7 @@ describe 'CondaUpstreamRequest' do
|
|
|
87
87
|
describe 'test attribute "mode"' do
|
|
88
88
|
it 'should work' do
|
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
90
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
90
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
91
91
|
# validator.allowable_values.each do |value|
|
|
92
92
|
# expect { @instance.mode = value }.not_to raise_error
|
|
93
93
|
# end
|
|
@@ -145,7 +145,7 @@ describe 'CondaUpstream' do
|
|
|
145
145
|
describe 'test attribute "mode"' do
|
|
146
146
|
it 'should work' do
|
|
147
147
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
148
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy"])
|
|
148
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only", "Cache and Proxy", "Cache Only"])
|
|
149
149
|
# validator.allowable_values.each do |value|
|
|
150
150
|
# expect { @instance.mode = value }.not_to raise_error
|
|
151
151
|
# end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Cloudsmith API (v1)
|
|
3
|
+
|
|
4
|
+
#The API to the Cloudsmith Service
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: support@cloudsmith.io
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.50
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudsmithApi::ConnectedRepositoryRequestPatch
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ConnectedRepositoryRequestPatch' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudsmithApi::ConnectedRepositoryRequestPatch.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ConnectedRepositoryRequestPatch' do
|
|
31
|
+
it 'should create an instance of ConnectedRepositoryRequestPatch' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::ConnectedRepositoryRequestPatch)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "is_active"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "priority"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "target_repository"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Cloudsmith API (v1)
|
|
3
|
+
|
|
4
|
+
#The API to the Cloudsmith Service
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: support@cloudsmith.io
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.50
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudsmithApi::ConnectedRepositoryRequest
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ConnectedRepositoryRequest' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudsmithApi::ConnectedRepositoryRequest.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ConnectedRepositoryRequest' do
|
|
31
|
+
it 'should create an instance of ConnectedRepositoryRequest' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::ConnectedRepositoryRequest)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "is_active"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "priority"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "target_repository"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|