Actions
Issue #5760
closedCannot list repository versions using Ruby bindings
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Katello
Sprint:
Sprint 62
Quarter:
Description
[3] pry(#<Katello::Pulp3::Api::File>)> api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
[4] pry(#<Katello::Pulp3::Api::File>)> api_instance.list("/pulp/api/v3/repositories/file/file/ceae8490-d6ce-4092-ace5-f0e1591ac447/")
URI::InvalidURIError: bad URI(is not URI?): http://localhost/{file_repository_href}versions/
from /opt/rh/rh-ruby25/root/usr/share/ruby/uri/rfc3986_parser.rb:67:in `split'
Actions
Fix repository parameter name in OpenAPI schema
The prefix for the *_repository_version_href was getting applied to *_repository_href slug names. This patch limits it to only *_repository_version_href.
re: #5760 https://pulp.plan.io/issues/5760