Merge branch 'main' into add-rust-actix-codegen

This commit is contained in:
Ashita Prasad
2024-03-12 20:22:50 +05:30
committed by GitHub
5 changed files with 1228 additions and 1 deletions

View File

@ -1,12 +1,13 @@
import 'package:apidash/codegen/rust/actix.dart';
import 'package:apidash/models/models.dart' show RequestModel;
import 'package:apidash/consts.dart';
import 'package:apidash/utils/utils.dart' show getNewUuid;
import 'dart/http.dart';
import 'dart/dio.dart';
import 'go/http.dart';
import 'kotlin/okhttp.dart';
import 'python/http_client.dart';
import 'python/requests.dart';
import 'rust/actix.dart';
import 'js/axios.dart';
import 'js/fetch.dart';
import 'others/har.dart';
@ -55,6 +56,8 @@ class Codegen {
return PythonRequestsCodeGen().getCode(rM, boundary: boundary);
case CodegenLanguage.rustActix:
return RustActixCodeGen().getCode(rM, boundary: boundary);
case CodegenLanguage.goHttp:
return GoHttpCodeGen().getCode(rM);
}
}
}