openapi-generator/samples/server/petstore/nodejs-google-cloud-functions
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 Introduce NodeJS codegen for Google Cloud Functions. (#4406) 2016-12-22 23:11:52 +08:00
package.json Introduce NodeJS codegen for Google Cloud Functions. (#4406) 2016-12-22 23:11:52 +08:00
README.md Introduce NodeJS codegen for Google Cloud Functions. (#4406) 2016-12-22 23:11:52 +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.

Deploying the function

To deploy this module into Google Cloud Functions, you will have to use Google Cloud SDK commandline tool.

See Google Cloud Functions quick start guide and Deploying Cloud Functions for the details.

This project leverages the mega-awesome swagger-tools middleware which does most all the work.