add codegen for python-requests (#1244)
Co-authored-by: Qing Ye <ye.qing@go-jek.com> Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import { NodeJsRequestCodegen } from "./generators/nodejs-request"
|
||||
import { JSjQueryCodegen } from "./generators/js-jQuery"
|
||||
import { PowerShellRestMethod } from "./generators/powershell"
|
||||
import { PhpCurlCodegen } from "./generators/php-curl"
|
||||
import { PythonRequestsCodegen } from "./generators/python-requests"
|
||||
|
||||
/* Register code generators here.
|
||||
* A code generator is defined as an object with the following structure.
|
||||
@@ -26,6 +27,7 @@ export const codegens = [
|
||||
NodeJsRequestCodegen,
|
||||
PhpCurlCodegen,
|
||||
PowerShellRestMethod,
|
||||
PythonRequestsCodegen,
|
||||
]
|
||||
|
||||
export function generateCodeWithGenerator(codegenID, context) {
|
||||
|
||||
Reference in New Issue
Block a user