Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
build: update version and ts devs
Browse files Browse the repository at this point in the history
  • Loading branch information
joolfe committed Aug 29, 2022
1 parent c0a37ae commit 7aea545
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postman-to-openapi",
"version": "2.5.0",
"version": "2.6.0",
"description": "Convert postman collection to OpenAPI spec",
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ export interface Options {
responseHeaders?: boolean,
// Default value false
replaceVars?: boolean,
additionalVars?: { [key: string]: string }
additionalVars?: { [key: string]: string },
// Default value 'yaml'
outputFormat?: 'json' | 'yaml'
}

export default function postmanToOpenApi (input: string, output?: string, options?: Options) : Promise<string>

0 comments on commit 7aea545

Please sign in to comment.