finish service api spec