spec/api/repos_api_spec.rb in cloudsmith-api-1.142.3 vs spec/api/repos_api_spec.rb in cloudsmith-api-2.0.0

- old
+ new

@@ -1,7 +1,7 @@ =begin -#Cloudsmith API +#Cloudsmith API (v1) #The API to the Cloudsmith Service OpenAPI spec version: v1 Contact: support@cloudsmith.io @@ -30,29 +30,16 @@ it 'should create an instance of ReposApi' do expect(@instance).to be_instance_of(CloudsmithApi::ReposApi) end end - # unit tests for repos_all_list - # Get a list of all repositories associated with current user. - # Get a list of all repositories associated with current user. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :page A page number within the paginated result set. - # @option opts [Integer] :page_size Number of results to return per page. - # @return [Array<Repository>] - describe 'repos_all_list test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for repos_create # Create a new repository in a given namespace. # Create a new repository in a given namespace. # @param owner # @param [Hash] opts the optional parameters - # @option opts [ReposCreate] :data + # @option opts [RepositoryCreateRequest] :data # @return [RepositoryCreate] describe 'repos_create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end @@ -75,11 +62,11 @@ # Set the active GPG key for the Repository. # Set the active GPG key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters - # @option opts [ReposGpgCreate] :data + # @option opts [RepositoryGpgKeyCreate] :data # @return [RepositoryGpgKey] describe 'repos_gpg_create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end @@ -109,19 +96,19 @@ it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - # unit tests for repos_list + # unit tests for repos_namespace_list # Get a list of all repositories within a namespace. # Get a list of all repositories within a namespace. # @param owner # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array<Repository>] - describe 'repos_list test' do + describe 'repos_namespace_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end @@ -129,11 +116,11 @@ # Update details about a repository in a given namespace. # Update details about a repository in a given namespace. # @param owner # @param identifier # @param [Hash] opts the optional parameters - # @option opts [ReposPartialUpdate] :data + # @option opts [RepositoryRequestPatch] :data # @return [Repository] describe 'repos_partial_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end @@ -158,11 +145,11 @@ # Modify privileges for the repository. # Modify privileges for the repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters - # @option opts [ReposPrivilegesPartialUpdate] :data + # @option opts [RepositoryPrivilegeInputRequestPatch] :data # @return [nil] describe 'repos_privileges_partial_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end @@ -172,11 +159,11 @@ # Replace all existing repository privileges with those specified. # Replace all existing repository privileges with those specified. # @param owner # @param identifier # @param [Hash] opts the optional parameters - # @option opts [ReposPrivilegesUpdate] :data + # @option opts [RepositoryPrivilegeInputRequest] :data # @return [nil] describe 'repos_privileges_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end @@ -199,11 +186,11 @@ # Set the active RSA key for the Repository. # Set the active RSA key for the Repository. # @param owner # @param identifier # @param [Hash] opts the optional parameters - # @option opts [ReposRsaCreate] :data + # @option opts [RepositoryRsaKeyCreate] :data # @return [RepositoryRsaKey] describe 'repos_rsa_create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end @@ -228,9 +215,22 @@ # @param owner # @param identifier # @param [Hash] opts the optional parameters # @return [RepositoryRsaKey] describe 'repos_rsa_regenerate test' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for repos_user_list + # Get a list of all repositories associated with current user. + # Get a list of all repositories associated with current user. + # @param [Hash] opts the optional parameters + # @option opts [Integer] :page A page number within the paginated result set. + # @option opts [Integer] :page_size Number of results to return per page. + # @return [Array<Repository>] + describe 'repos_user_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end