Allow things like null to be passed for api and doc paths