openapi-generator/samples/server/petstore/nodejs
Akihito Nakano ef2b372dd3 [Node.js] Add a message which notify that the generated server doesn't work (#456)
* Add message which notify that the server doesn't work

* Update samples
2018-07-05 12:25:17 +08:00
..
.openapi-generator [Node.js] Add a message which notify that the generated server doesn't work (#456) 2018-07-05 12:25:17 +08:00
api [Node.js] Add a message which notify that the generated server doesn't work (#456) 2018-07-05 12:25:17 +08:00
controllers Update NodeJS server petstore samples with OAS2, OAS3 (#113) 2018-04-17 22:58:13 +08:00
service Fix missing examples (#305) 2018-05-04 17:25:49 +08:00
utils Fix nodejs-server path issue in windows platform (#7808) 2018-03-12 23:21:07 +08:00
.openapi-generator-ignore Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
index.js Update nodejs samples which skipped overwriting 2018-05-05 01:36:37 +09:00
package.json Rename 'keywords' for package.json 2018-05-05 01:43:35 +09:00
README.md Update nodejs samples which skipped overwriting 2018-05-05 01:36:37 +09:00

OpenAPI generated server

Overview

This server was generated by the OpenAPI Generator 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.