mockoon-template-generator

0.0.6 • Public • Published

DESCRIPTION

This script generates dynamic templates for mockoon v1.20.0 schema from openapi 3 json file.

INSTRUCTIONS

Options:
      --help          Shows help                                      [boolean]
      --version       Shows version number                            [boolean]
  -a, --openapi-file  Absolute path to the openapi JSON file. E.g.
                      /home/mypath/openapi.json                      [required]
  -m, --mockoon-file  Absolute path to the mockoon JSON file. E.g.
                      /home/mypath/API_MOCKOON.json                  [required]
  -o, --output-path   Absolute path to the mockoon generated schema. E.g.
                      /home/mypath/schema.json                       [required]
  -n, --nested-level  The nested level of components data. Must be a number
                      between 1 and 4, both included. 2 by default. E.g. 2

COMMAND

mtg

Github repo

https://github.com/fullstackdeveloperbilbao/mockoon-automatic-templates

NPM

https://www.npmjs.com/package/mockoon-template-generator

Readme

Keywords

none

Package Sidebar

Install

npm i mockoon-template-generator

Weekly Downloads

1

Version

0.0.6

License

ISC

Unpacked Size

10.7 kB

Total Files

3

Last publish

Collaborators

  • fullstackdeveloperbilbao