registry icon indicating copy to clipboard operation
registry copied to clipboard

Registry API: DeleteApiSpecRevision can delete the only remaining revision of a spec

Open seaneganx opened this issue 3 years ago • 0 comments

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.

seaneganx avatar Aug 13 '21 17:08 seaneganx