registry
registry copied to clipboard
Registry API: DeleteApiSpecRevision can delete the only remaining revision of a spec
AIP-162 states the following. We don't currently support this expected behavior.
The method must not cause the resource to be deleted. Because a resource should not exist with zero revisions, the method must fail with FAILED_PRECONDITION if the user attempts to delete the only revision.
We have a test for this case that is currently skipped.