mirror of
https://github.com/foss42/apidash.git
synced 2025-06-09 06:15:50 +08:00
Revert "Added python http client codegen and Updated python into language dropdown"
This reverts commit 637ca36fef8fd73ef9decb63aff864264274a927.
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import 'package:apidash/codegen/kotlin/pkg_okhttp.dart';
|
||||
import 'python/pkg_http_client.dart';
|
||||
import 'package:apidash/consts.dart';
|
||||
|
||||
import 'package:apidash/models/models.dart' show RequestModel;
|
||||
@ -16,8 +15,6 @@ class Codegen {
|
||||
return DartHttpCodeGen().getCode(requestModel, defaultUriScheme);
|
||||
case CodegenLanguage.kotlinOkHttp:
|
||||
return KotlinOkHttpCodeGen().getCode(requestModel);
|
||||
case CodegenLanguage.pythonHttpClient:
|
||||
return PythonHttpClient().getCode(requestModel);
|
||||
default:
|
||||
throw ArgumentError('Invalid codegenLanguage');
|
||||
}
|
||||
|
Reference in New Issue
Block a user