openapi-generator/samples/server/petstore/nodejs
2017-12-18 12:30:57 +08:00
..
.swagger-codegen Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
api Fix typo in Petstore yaml (#7195) 2017-12-18 12:30:57 +08:00
controllers Use deterministic randomness in ExampleGenerator. (#5068) 2017-03-15 17:15:13 +08:00
service Merge branch 'master' into new-sync-master-to-2.3.0 2017-03-15 16:41:33 +01:00
utils Refactor nodejs generated code structure (#4909) 2017-03-06 01:10:01 +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.