openapi-generator/samples/server/petstore/nodejs
Paŭlo Ebermann 31f29be2a0 Use deterministic randomness in ExampleGenerator. (#5068)
* Update samples for nodejs + nodejs-google-cloud-functions.

* Fix example generator to use deterministic randomness.

This avoids changing results after each generation, and makes diff reviews easier.

* Update NodeJS samples.

This is the last "randomness" update. From now on the samples should only change if either the generator, the input or parameters change.
2017-03-15 17:15:13 +08:00
..
api Use deterministic randomness in ExampleGenerator. (#5068) 2017-03-15 17:15:13 +08: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 fixes #1581, rebuilt server 2015-11-17 18:46:33 -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.