Redfish-Tools
Redfish-Tools copied to clipboard
Doc Generator - profiles output setting doesn't account for additional registries folder locations
When attempting to build for Swordfish profiles, which use registries online here: https://redfish.dmtf.org/registries/swordfish/v1/, the tool breaks. It only expects registries at redfish/registries.
I'm not sure that's accurate (or I'm misunderstanding) -- if the profile entry for a registry lists the Repository as "redfish.dmtf.org/registries/swordfish/v1", that should match https://redfish.dmtf.org/registries/swordfish/v1/. There actually isn't a hard-coded fallback location for registries.
For example, I'd expect something like this to work:
"Registries": {
"Swordfish": {
"MinVersion": "1.0.0",
"Repository": "redfish.dmtf.org/registries/swordfish/v1",
[...]