Python http client codegen (#1252)

* add codegen for python http client

* update print header function
This commit is contained in:
luthrap
2020-10-08 23:29:00 +05:30
committed by GitHub
parent a4c5817b54
commit 92854b9e84
2 changed files with 97 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import { JSjQueryCodegen } from "./generators/js-jQuery"
import { PowerShellRestMethod } from "./generators/powershell"
import { PhpCurlCodegen } from "./generators/php-curl"
import { PythonRequestsCodegen } from "./generators/python-requests"
import { PythonHttpClientCodegen } from "./generators/python-http-client"
/* Register code generators here.
* A code generator is defined as an object with the following structure.
@@ -30,6 +31,7 @@ export const codegens = [
PhpCurlCodegen,
PowerShellRestMethod,
PythonRequestsCodegen,
PythonHttpClientCodegen,
]
export function generateCodeWithGenerator(codegenID, context) {