You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command-line tool for filtering documentation created with Swagger.
5
+
Command-line tool for filtering documentation created with [Swagger](http://swagger.io/).
6
6
7
7
The filter matches all paths defined in the input JSON against the given regular expression. Definition of all paths that don't match given regex, are removed. In the second step tool filters all data structure definitions and removes all that are not used within the remaining part of the paths.
8
8
9
9
## Usage
10
10
11
11
### as node.js package
12
-
We can use the swagger-json-filter from a js code, givng the input JSON string and options of filtering:
12
+
Install package for your project
13
+
```shell
14
+
npm install swagger-json-filter --save
13
15
```
16
+
then you can use the swagger-json-filter from a js code, providing the input JSON string and options of filtering:
0 commit comments