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

Commit

Permalink
docs: updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joolfe committed Jan 15, 2022
1 parent ca645cc commit f9f3979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ npm i postman-to-openapi -g

## As library

Use the library is as easy as use a single method `async postmanToOpenApi(inputPath, outputPath, options)`, the parameters are:
Use the library is as easy as use a single method `async postmanToOpenApi(input, outputPath, options)`, the parameters are:

| Param | Description |
|--------------|---------------------------------------------------------------------------------------------|
| `inputPath` | String. Path of the Postman collection file. |
| `input` | String. Path of the Postman collection file or value of the postman collection as String. |
| `outputPath` | String. Path of the output file where the OpenAPi will be stored. This param is optional if not provided (`undefined` or `null`) no file will be saved. |
| `options` | Object. Optional configuration, see [options](#options) section for a detailed description. |

Expand Down

0 comments on commit f9f3979

Please sign in to comment.