export interface Method {
  type: string;
  name: string;
  desc: string;
  lang: { name: string; value: string }[];
}

export interface Params {
  main: { id: number; name: string; value: string }[];
  additional: { param: string };
}

export interface MainParams {
  id: number; name: string; value: string;
}

export interface Response {
  status: number;
  name: string;
  value: string
}

export interface Lang {
  name: string;
  value: string;
}

export interface serverData {
  name: string;
  value: string;
  methods: Method[];
  params: Params;
  response: Response;
}

export interface NameValuePair {
  name: string;
  value: string;
}
