openapi2bruno
v1.0.2
Published
Generate bruno (`.bru`) file from OpenAPI definition. (`.json`, `.yaml`)
Downloads
27
Readme
openapi2bruno
Generate bruno (.bru
) file from OpenAPI definition. (.json
, .yaml
)
Getting Started
git clone [email protected]:mr04vv/openapi2bruno.git
npm i
npm run sample
Usage
npx openapi2bruno -i=config.js
CLI Option
-i
, --input
path to an config file for input
Config
module.exports = [
{
input: './sample/open_api.json',
output: "./sample"
},
{
input: './sample/open_api.yaml',
output: "./sample"
},
];
- input: OpenAPI file path
- output: Output directory (must be existed)