This rule belongs to the
swagger-v1-validation ruleset and states that:
If Resource Listing document is provided as a local file from the system, relative paths of API declaration documents provided in the
apis property cannot be resolved. For such cases, if the Resource Listing document is publicly available, upload it via its URL instead of a local file. Alternatively, the root object of a Swagger v1 Resource Listing document must specify the base path to use for loading relative API declaration documents, using the
|Message||Required property |
|Broad Category||Resource Listing|
|Products Impacted||API Transformer, Code Generation, Developer Experience Portal|
- Add missing
basePathproperty in the root object of the Resource Listing document.
- Make sure that the
basePathproperty value is not null or empty.
- Ensure that the
basePathproperty is an absolute URL path which is publicly accessible and not hidden behind an authentication layer.
- Ensure that all API declaration documents are available relative to this