-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
Some schema definitions of API responses are not fully described as per their swagger.
Example:
https://developers.redhat.com/api-catalog/api/inventory#schema-HostOut
when compared with
https://console.redhat.com/docs/api/inventory/v1#components-schemas-HostOut
and the source
https://github.com/RedHatInsights/insights-host-inventory/blob/b2ed128d3e1e5d45c3413a63a8472a5bb71faeb6/swagger/api.spec.yaml#L1618-L1697
Similar issue is in Vulnerability where oneOf is used:
https://developers.redhat.com/api-catalog/api/vulnerability#schema-VulnerabilitiesOut
(see screenshots as well)