UNPKG

2.24 kBMarkdownView Raw
1## swagger modules and dependencies
2
3This topic briefly describes the relevant Node.js modules on which a swagger project depends.
4
5* [swagger](#swagger)
6* [skeleton](#skeleton)
7* [swagger-editor](#swagger-editor)
8* [swagger-tools](#swagger-tools)
9
10###<a ref='swagger'></a>swagger
11
12The `swagger` npm module provides everything you need to create new projects, including the Swagger editor, Swagger Tools middleware, sample project skeletons, and the `swagger` command-line tools.
13
14####Installation
15For installation instructions, see "[Installation](./install.md)".
16
17####Documentation
18
19The main source of documentation for the swagger module and related components is in the swagger-node repository on GitHub.
20
21####Installation
22
23The swagger command-line tools are installed with swagger.
24
25#### Documentation
26
27[swagger command-line reference](./cli.md)
28
29
30### <a ref='skeleton'></a>skeleton
31
32A basic, "hello world" swagger project. This project automatically cloned when you create a new swagger project by executing `swagger project create`. Skeleton projects are implemented for specific API frameworks, such as express, restify, or others.
33
34#### Documentation
35
36See the swagger "[Quick start](./quick-start.md)" to see how easy it is to get a new swagger API project up and running.
37
38### <a ref='swagger-editor'></a>swagger-editor
39
40The Swagger Editor lets you design your API specification and interactively preview its documentation for your swagger API project.
41
42####Installation
43
44Standard npm install. Installed with swagger.
45
46####Documentation
47
48See "[Swagger Editor](https://github.com/swagger-api/swagger-editor)" on GitHub.
49
50### <a ref='swagger-tools'></a>swagger-tools
51
52Middleware for Node.js including Message Validation, Authorization and Routing.
53
54####Installation
55
56Standard npm install. Installed with swagger.
57
58####Documentation
59
60See the `swagger-tools` [README](https://github.com/apigee-127/swagger-tools) on GitHub.
61
62
63#### Swagger Tools middleware components
64
65Swagger tools provides these middleware components. They provide services for message validation, authorization, and routing.
66
67* swagger-metadata
68* swagger-router
69* swagger-validator