mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
.. | ||
api | ||
controllers | ||
index.js | ||
package.json | ||
README.md |
Swagger generated server
Overview
This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. This is an example of building a node.js server.
This example uses the expressjs framework. To see how to make this your own, look here:
Running the server
To run the server, follow these simple steps:
npm install
node .
To view the Swagger UI interface:
open http://localhost:8080/docs
This project leverages the mega-awesome swagger-tools middleware which does most all the work.