fix api_client_spec