spec/api/vulnerabilities_api_spec.rb in cloudsmith-api-0.57.1 vs spec/api/vulnerabilities_api_spec.rb in cloudsmith-api-1.30.0
- old
+ new
@@ -31,12 +31,12 @@
expect(@instance).to be_instance_of(CloudsmithApi::VulnerabilitiesApi)
end
end
# unit tests for vulnerabilities_list
- # Checks feature is within plan before listing results.
- # Checks feature is within plan before listing results.
+ # 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>]
@@ -45,12 +45,12 @@
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
# unit tests for vulnerabilities_list0
- # Checks feature is within plan before listing results.
- # Checks feature is within plan before listing results.
+ # 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.
@@ -60,12 +60,12 @@
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
# unit tests for vulnerabilities_list1
- # Check package identifier is valid before querying results.
- # Check package identifier is valid before querying results.
+ # 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.
@@ -76,11 +76,11 @@
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
# unit tests for vulnerabilities_read
- # Checks feature is within plan before retrieving results.
- # Checks feature is within plan before retrieving results.
+ # Returns a Scan Result.
+ # Returns a Scan Result.
# @param owner
# @param repo
# @param package
# @param scan_id
# @param [Hash] opts the optional parameters