Add API test case for garbage collection, and add swagger.yaml, GC and chart feature were updated in swagger.yaml. Signed-off-by: danfengliu <danfengl@vmware.com>