Relative URLs in OpenAPI 3
Servers declaration in OpenAPI 3 allows setting relative paths, see https://swagger.io/docs/specification/api-host-and-base-path/ .
Though, in the security audit, it's treated as a problem:
The url property '/relative/path' of the Server object must be an absolute URL
Relative URL should not be considered an security issue, especially in API design time. Or, is there any reason for it?
Relative URLs in OpenAPI 3
Servers declaration in OpenAPI 3 allows setting relative paths, see https://swagger.io/docs/specification/api-host-and-base-path/ .
Though, in the security audit, it's treated as a problem:
The url property '/relative/path' of the Server object must be an absolute URLRelative URL should not be considered an security issue, especially in API design time. Or, is there any reason for it?