@sion908/multi-file-swagger-utils

1.1.2 • Public • Published

multi-file-Swagger utils

MIT License

Example of how to split up a large Swagger spec into smaller files.

Read the blog post

Usage

Install the node tool:

  npm install install @sion908/multi-file-swagger-utils --save-dev

Run the command like so:

  npx multi-file-swagger-utils -b docs/base.yaml -o test/resolved.yaml

This will resolve every json pointer ($ref) externally or internally and then save it in a yaml file. Which can then be used for code generation and so on.

feature

create resolve

License

MIT

Thanks

https://www.npmjs.com/package/multi-file-swagger

Readme

Keywords

none

Package Sidebar

Install

npm i @sion908/multi-file-swagger-utils

Weekly Downloads

2

Version

1.1.2

License

MIT

Unpacked Size

11.2 kB

Total Files

15

Last publish

Collaborators

  • sion908