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

Commit

Permalink
Merge pull request #181 from joolfe/develop
Browse files Browse the repository at this point in the history
typescrip bug fixed
  • Loading branch information
joolfe authored Mar 13, 2022
2 parents d6ca857 + 6970fe3 commit af5af83
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### [2.2.1](https://github.com/joolfe/postman-to-openapi/compare/2.2.0...2.2.1) (2022-03-13)


### Bug Fixes

* **types:** it should return promise<string> ([19ddc69](https://github.com/joolfe/postman-to-openapi/commit/19ddc69448ff2b68e4ee1dbef5114d6a8212f704)), closes [/github.com/joolfe/postman-to-openapi/blob/master/lib/index.js#L9](https://github.com/joolfe//github.com/joolfe/postman-to-openapi/blob/master/lib/index.js/issues/L9)


### Build System

* update version ([ee6d061](https://github.com/joolfe/postman-to-openapi/commit/ee6d061bf279b2e3da3ad29ab1c7fb5418d7659a))

## [2.2.0](https://github.com/joolfe/postman-to-openapi/compare/2.1.0...2.2.0) (2022-02-19)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.2.0",
"version": "2.2.1",
"description": "Convert postman collection to OpenAPI spec",
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ export interface Options {
additionalVars?: { [key: string]: string }
}

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

0 comments on commit af5af83

Please sign in to comment.