npm.io
2.1.0 • Published 3 years ago

@mocks-server/plugin-openapi

Licence
MIT
Version
2.1.0
Deps
2
Size
28 kB
Vulns
0
Weekly
0
Stars
312

Mocks Server logo

Build Status Coverage Quality Gate Downloads Renovate License


Mocks Server Plugin OpenApi

Mocks Server plugin enabling to create routes and collections from OpenApi definitions.

Usage

This plugin is included in the main distribution of the Mocks Server project, so you can refer to the official documentation website.

Options

  • plugins.openapi.collection.id (String | Null): Id for the collection to be created with all routes from all OpenAPI documents. Default is "openapi". When it is set to null, no collection will be created.
  • plugins.openapi.collection.from (String): When provided, the created collection will extend from this one.

Read more about how to set options in Mocks Server here.

Contributing

Contributors are welcome. Please read the contributing guidelines and code of conduct.

Keywords