mirror of
https://github.com/foss42/apidash.git
synced 2025-05-22 16:57:07 +08:00
Merge pull request #322 from royshruti/resolve-issue-142
Added CodeGen for PHP (curl)
This commit is contained in:
@ -6,6 +6,7 @@ import 'dart/dio.dart';
|
||||
import 'go/http.dart';
|
||||
import 'kotlin/okhttp.dart';
|
||||
import 'php/guzzle.dart';
|
||||
import 'php/curl.dart';
|
||||
import 'python/http_client.dart';
|
||||
import 'python/requests.dart';
|
||||
import 'rust/actix.dart';
|
||||
@ -82,6 +83,8 @@ class Codegen {
|
||||
return RustUreqCodeGen().getCode(rM, boundary: boundary);
|
||||
case CodegenLanguage.phpGuzzle:
|
||||
return PhpGuzzleCodeGen().getCode(rM);
|
||||
case CodegenLanguage.phpCurl:
|
||||
return PHPcURLCodeGen().getCode(rM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user