import { Service, ServiceApi } from '@openapi/registry-service/api';

class ServiceService {
  async get(id: string, expand: string): Promise<Service> {
    const { data } = await new ServiceApi().getService(id, expand);
    return data;
  }
}
export default new ServiceService();
