spec/api/vulnerabilities_api_spec.rb in cloudsmith-api-1.142.3 vs spec/api/vulnerabilities_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,50 +30,35 @@ it 'should create an instance of VulnerabilitiesApi' do expect(@instance).to be_instance_of(CloudsmithApi::VulnerabilitiesApi) end end - # unit tests for vulnerabilities_list + # unit tests for vulnerabilities_namespace_list # Lists scan results for a specific namespace. # Lists scan results for a specific 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<VulnerabilityScanResultsList>] - describe 'vulnerabilities_list test' do + describe 'vulnerabilities_namespace_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 vulnerabilities_list0 - # Lists scan results for a specific repository. - # Lists scan results for a specific repository. - # @param owner - # @param repo - # @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<VulnerabilityScanResultsList>] - describe 'vulnerabilities_list0 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 vulnerabilities_list1 + # unit tests for vulnerabilities_package_list # Lists scan results for a specific package. # Lists scan results for a specific package. # @param owner # @param repo # @param package # @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<VulnerabilityScanResultsList>] - describe 'vulnerabilities_list1 test' do + describe 'vulnerabilities_package_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end @@ -85,9 +70,24 @@ # @param package # @param scan_id # @param [Hash] opts the optional parameters # @return [VulnerabilityScanResults] describe 'vulnerabilities_read 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 vulnerabilities_repo_list + # Lists scan results for a specific repository. + # Lists scan results for a specific repository. + # @param owner + # @param repo + # @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<VulnerabilityScanResultsList>] + describe 'vulnerabilities_repo_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end