@mocks-server/plugin-openapi
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

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.

Package Sidebar

Install

npm i @mocks-server/plugin-openapi

Weekly Downloads

19,775

Version

2.1.0

License

MIT

Unpacked Size

28.6 kB

Total Files

13

Last publish

Collaborators

  • javierbrea