openapi-generator/samples/server/petstore/nodejs
2016-06-27 08:10:01 +02:00
..
api update nodejs/ts package license to use Apache-2.0 2016-05-29 18:08:32 +08:00
controllers update nodejs/ts package license to use Apache-2.0 2016-05-29 18:08:32 +08:00
index.js fixes #1581, rebuilt server 2015-11-17 18:46:33 -08:00
package.json Update petstore sample for changes on PR #3212 2016-06-27 08:10:01 +02:00
README.md Update petstore sample for changes on PR #3212 2016-06-27 08:10:01 +02:00

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:

README

Running the server

To run the server, run:

npm start

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.