Api generator based on mwbexporter