@readme/oas-to-har
Advanced tools
Comparing version 23.2.6 to 23.2.7
@@ -1,5 +0,6 @@ | ||
import { DataForHAR, AuthForHAR, oasToHarOptions } from './lib/types.js'; | ||
import { AuthForHAR, oasToHarOptions } from './lib/types.js'; | ||
import { Request } from 'har-format'; | ||
import Oas from 'oas'; | ||
import { Operation } from 'oas/operation'; | ||
import { DataForHAR } from 'oas/types'; | ||
@@ -6,0 +7,0 @@ declare function oasToHar(oas: Oas, operationSchema?: Operation, values?: DataForHAR, auth?: AuthForHAR, opts?: oasToHarOptions): { |
@@ -0,1 +1,3 @@ | ||
export { DataForHAR } from 'oas/types'; | ||
type AuthForHAR = Record<string, number | string | { | ||
@@ -5,14 +7,3 @@ pass?: string; | ||
}>; | ||
interface DataForHAR { | ||
body?: any; | ||
cookie?: Record<string, any>; | ||
formData?: Record<string, any>; | ||
header?: Record<string, any>; | ||
path?: Record<string, any>; | ||
query?: Record<string, any>; | ||
server?: { | ||
selected: number; | ||
variables?: Record<string, unknown>; | ||
}; | ||
} | ||
interface oasToHarOptions { | ||
@@ -22,2 +13,2 @@ proxyUrl: boolean; | ||
export type { AuthForHAR, DataForHAR, oasToHarOptions }; | ||
export type { AuthForHAR, oasToHarOptions }; |
@@ -0,1 +1,6 @@ | ||
// src/lib/types.ts | ||
import { DataForHAR } from "oas/types"; | ||
export { | ||
DataForHAR | ||
}; | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@readme/oas-to-har", | ||
"description": "Utility to transform an OAS operation into a HAR representation", | ||
"version": "23.2.6", | ||
"version": "23.2.7", | ||
"author": "Jon Ursenbach <jon@ursenba.ch>", | ||
@@ -53,3 +53,3 @@ "license": "ISC", | ||
"@readme/data-urls": "^3.0.0", | ||
"oas": "^24.2.2", | ||
"oas": "^24.3.0", | ||
"qs": "^6.12.0", | ||
@@ -71,3 +71,3 @@ "remove-undefined-objects": "^5.0.0" | ||
"prettier": "@readme/eslint-config/prettier", | ||
"gitHead": "0a0515233c1b2d2c53200263b8fd18395e876480" | ||
"gitHead": "b0680d0588c1fd93d006c0c87b98b882cb057926" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
226416
1886
Updatedoas@^24.3.0