Issue #21: publish Api without resource and policies works.