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:
YE Qing
2020-10-07 01:26:10 +08:00
committed by GitHub
parent 50a5b0f7db
commit 1c2963a1e0
2 changed files with 98 additions and 0 deletions

View File

@@ -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) {