This repository has been archived by the owner on Dec 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: only one file and ass more test
- Loading branch information
Showing
6 changed files
with
132 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Usage: p2o <collection> [options] | ||
|
||
Transform a postman collection to OpenAPI specification yml. | ||
|
||
Arguments: | ||
collection Relative path to the Postman collection json file | ||
|
||
Options: | ||
-v, --vers Output the current version of the library. | ||
-f, --file <file> Relative path to the file where result will be | ||
saved. If empty result will be returned by cli. | ||
-o, --options <options> Relative path to json file that contain the optional | ||
parameters for the transformation. | ||
-h, --help display help for command | ||
|
||
|
||
Example calls: | ||
$ p2o ./path/to/PostmantoCollection.json -f ./path/to/result.yml -o ./path/to/options.json | ||
|
||
For more info about how to use it visit our documentation in <https://joolfe.github.io/postman-to-openapi/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
info": { | ||
"title": "Options title", | ||
"version: "6.0.7-beta", | ||
"description": "Description from options", | ||
"termsOfService": "http://tos.myweb.com" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"info": { | ||
"title": "Options title", | ||
"version": "6.0.7-beta", | ||
"description": "Description from options", | ||
"termsOfService": "http://tos.myweb.com" | ||
} | ||
} |