mirror of
https://github.com/foss42/apidash.git
synced 2025-06-02 07:46:10 +08:00
added support for ruby faraday
This commit is contained in:
@ -8,6 +8,7 @@ import 'kotlin/okhttp.dart';
|
|||||||
import 'php/guzzle.dart';
|
import 'php/guzzle.dart';
|
||||||
import 'python/http_client.dart';
|
import 'python/http_client.dart';
|
||||||
import 'python/requests.dart';
|
import 'python/requests.dart';
|
||||||
|
import 'ruby/faraday.dart';
|
||||||
import 'rust/actix.dart';
|
import 'rust/actix.dart';
|
||||||
import 'rust/curl_rust.dart';
|
import 'rust/curl_rust.dart';
|
||||||
import 'rust/reqwest.dart';
|
import 'rust/reqwest.dart';
|
||||||
@ -72,6 +73,9 @@ class Codegen {
|
|||||||
.getCode(rM, boundary: boundary ?? getNewUuid());
|
.getCode(rM, boundary: boundary ?? getNewUuid());
|
||||||
case CodegenLanguage.pythonRequests:
|
case CodegenLanguage.pythonRequests:
|
||||||
return PythonRequestsCodeGen().getCode(rM, boundary: boundary);
|
return PythonRequestsCodeGen().getCode(rM, boundary: boundary);
|
||||||
|
case CodegenLanguage.rubyFaraday:
|
||||||
|
return RubyFaradayCodeGen()
|
||||||
|
.getCode(rM, boundary: boundary ?? getNewUuid());
|
||||||
case CodegenLanguage.rustActix:
|
case CodegenLanguage.rustActix:
|
||||||
return RustActixCodeGen().getCode(rM, boundary: boundary);
|
return RustActixCodeGen().getCode(rM, boundary: boundary);
|
||||||
case CodegenLanguage.rustCurl:
|
case CodegenLanguage.rustCurl:
|
||||||
|
Reference in New Issue
Block a user