public Task Run()
        {
            var nativeApiInfo = _nativeApiInfoProvider.Get(MahuaPlatform.CleverQQ);
            var nativeApiIn   = _httpApiInputModelsGenerator.Generate(new HttpApiInputModelsGeneratorInput
            {
                NativeApiInfo = nativeApiInfo,
                MahuaPlatform = MahuaPlatform.CleverQQ
            });
            var code = CodeFormatter.FormatCode(nativeApiIn);

            File.WriteAllText("../Newbe.Mahua.InputReceivers.HttpApi/Services/Controllers/CleverQQController.cs",
                              code,
                              Encoding.UTF8);
            return(Task.CompletedTask);
        }
        public Task Run()
        {
            var nativeApiInfo = _nativeApiInfoProvider.Get(MahuaPlatform.Mpq);
            var nativeApiIn   = _httpApiInputModelsGenerator.Generate(new HttpApiInputModelsGeneratorInput
            {
                NativeApiInfo = nativeApiInfo,
                MahuaPlatform = MahuaPlatform.Mpq
            });
            var code     = CodeFormatter.FormatCode(nativeApiIn);
            var filename = Path.Combine(_sourceFileProvider.GetBasePath(),
                                        "Newbe.Mahua.InputReceivers.HttpApi/Services/Controllers/MpqController.cs");

            File.WriteAllText(filename,
                              code,
                              Encoding.UTF8);

            return(Task.CompletedTask);
        }