openapi-gen-typescript
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -7,2 +7,3 @@ "use strict"; | ||
'requestUrl', | ||
'requestMethod', | ||
'requestPathCode', | ||
@@ -9,0 +10,0 @@ 'requestQueryCode', |
@@ -83,4 +83,6 @@ "use strict"; | ||
const requestUrl = `export const url = \`${format_1.pathSplicing(format_1.getBaseUrl(openApiData), urlPath)}\``; | ||
const requestMethod = `export const method = '${method.toUpperCase()}'`; | ||
let exportObj = { | ||
requestUrl, | ||
requestMethod, | ||
requestPathCode, | ||
@@ -87,0 +89,0 @@ requestQueryCode, |
{ | ||
"name": "openapi-gen-typescript", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -7,2 +7,3 @@ import { methods } from './utils/type'; | ||
'requestUrl', | ||
'requestMethod', | ||
'requestPathCode', | ||
@@ -9,0 +10,0 @@ 'requestQueryCode', |
@@ -136,4 +136,7 @@ /** | ||
const requestMethod = `export const method = '${method.toUpperCase()}'`; | ||
let exportObj: { [key: string]: string } = { | ||
requestUrl, | ||
requestMethod, | ||
requestPathCode, | ||
@@ -140,0 +143,0 @@ requestQueryCode, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92336
2165