openapi-generator/samples/server/petstore/nodejs
Benjamin Douglas 34d9dca5e7 Update samples to current code/scripts
This is the result of

  - `$ git checkout master`
  - `$ bin/run-all-petstore`

No change was made to the code, just ran the aggregate sample generation
script.
2017-05-02 10:33:06 -07:00
..
api Update samples to current code/scripts 2017-05-02 10:33:06 -07:00
controllers Use deterministic randomness in ExampleGenerator. (#5068) 2017-03-15 17:15:13 +08:00
.swagger-codegen-ignore Use deterministic randomness in ExampleGenerator. (#5068) 2017-03-15 17:15:13 +08:00
index.js update nodejs petstore samples 2017-03-30 22:39:53 +08:00
package.json better code format for nodejs server (#4411) 2016-12-23 02:05:10 +08:00
README.md update NodeJS readme to remove oudated doc (#4232) 2016-11-22 10:42:15 +08: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.

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.