Update seq

This commit is contained in:
Ankit Mahato
2024-03-15 17:35:25 +05:30
parent 6a2baa8bc7
commit 1228ac4e46
2 changed files with 11 additions and 11 deletions

View File

@ -45,6 +45,8 @@ class Codegen {
return DartHttpCodeGen().getCode(rM); return DartHttpCodeGen().getCode(rM);
case CodegenLanguage.dartDio: case CodegenLanguage.dartDio:
return DartDioCodeGen().getCode(rM); return DartDioCodeGen().getCode(rM);
case CodegenLanguage.goHttp:
return GoHttpCodeGen().getCode(rM);
case CodegenLanguage.jsAxios: case CodegenLanguage.jsAxios:
return AxiosCodeGen().getCode(rM); return AxiosCodeGen().getCode(rM);
case CodegenLanguage.jsFetch: case CodegenLanguage.jsFetch:
@ -53,10 +55,16 @@ class Codegen {
return AxiosCodeGen(isNodeJs: true).getCode(rM); return AxiosCodeGen(isNodeJs: true).getCode(rM);
case CodegenLanguage.nodejsFetch: case CodegenLanguage.nodejsFetch:
return FetchCodeGen(isNodeJs: true).getCode(rM); return FetchCodeGen(isNodeJs: true).getCode(rM);
case CodegenLanguage.javaAsyncHttpClient:
return JavaAsyncHttpClientGen().getCode(rM);
case CodegenLanguage.javaHttpClient:
return JavaHttpClientCodeGen().getCode(rM);
case CodegenLanguage.javaOkHttp:
return JavaOkHttpCodeGen().getCode(rM);
case CodegenLanguage.juliaHttp:
return JuliaHttpClientCodeGen().getCode(rM);
case CodegenLanguage.kotlinOkHttp: case CodegenLanguage.kotlinOkHttp:
return KotlinOkHttpCodeGen().getCode(rM); return KotlinOkHttpCodeGen().getCode(rM);
case CodegenLanguage.javaOkHttp:
return JavaOkHttpCodeGen().getCode(rM);
case CodegenLanguage.pythonHttpClient: case CodegenLanguage.pythonHttpClient:
return PythonHttpClientCodeGen() return PythonHttpClientCodeGen()
.getCode(rM, boundary: boundary ?? getNewUuid()); .getCode(rM, boundary: boundary ?? getNewUuid());
@ -68,14 +76,6 @@ class Codegen {
return RustReqwestCodeGen().getCode(rM); return RustReqwestCodeGen().getCode(rM);
case CodegenLanguage.rustUreq: case CodegenLanguage.rustUreq:
return RustUreqCodeGen().getCode(rM, boundary: boundary); return RustUreqCodeGen().getCode(rM, boundary: boundary);
case CodegenLanguage.goHttp:
return GoHttpCodeGen().getCode(rM);
case CodegenLanguage.juliaHttp:
return JuliaHttpClientCodeGen().getCode(rM);
case CodegenLanguage.javaAsyncHttpClient:
return JavaAsyncHttpClientGen().getCode(rM);
case CodegenLanguage.javaHttpClient:
return JavaHttpClientCodeGen().getCode(rM);
} }
} }
} }

View File

@ -272,8 +272,8 @@ enum CodegenLanguage {
nodejsAxios("node.js (axios)", "javascript", "js"), nodejsAxios("node.js (axios)", "javascript", "js"),
nodejsFetch("node.js (fetch)", "javascript", "js"), nodejsFetch("node.js (fetch)", "javascript", "js"),
kotlinOkHttp("Kotlin (okhttp3)", "java", "kt"), kotlinOkHttp("Kotlin (okhttp3)", "java", "kt"),
pythonHttpClient("Python (http.client)", "python", "py"),
pythonRequests("Python (requests)", "python", "py"), pythonRequests("Python (requests)", "python", "py"),
pythonHttpClient("Python (http.client)", "python", "py"),
rustActix("Rust (Actix Client)", "rust", "rs"), rustActix("Rust (Actix Client)", "rust", "rs"),
rustReqwest("Rust (reqwest)", "rust", "rs"), rustReqwest("Rust (reqwest)", "rust", "rs"),
rustUreq("Rust (ureq)", "rust", "rs"), rustUreq("Rust (ureq)", "rust", "rs"),