17 Commits

Author SHA1 Message Date
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
Bart Kummel
30c2b6f262 Improved ExampleGenerator (#4797)
* Improved ExampleGenerator:

- Now takes into account enum and uri/url formats for strings.
- Uses example for referenced objects if available.
- Proper examples get generated for specific numeric formats, because more specific formats now get checked before generic format.
- Honors min and max values for numerical properties, if set.

* Ran script `bin/nodejs-petstore-server.sh`.

* Renamed log to logger to conform to coding standard.
2017-03-03 18:38:19 +08:00
wing328
aed21bba73 better code format for nodejs server (#4411) 2016-12-23 02:05:10 +08:00
wing328
88227e08e3 Remove Apache license from server stub generators (#4200)
* remove php apache license

* remove license in sample code, update nodejs to use unlicnese

* remove license from jaxrs generator

* remove license from server generator

* update pom.xml for jaxrs resteasy joda server
2016-11-17 00:37:21 +08:00
wing328
a27cda68ce update nodejs/ts package license to use Apache-2.0 2016-05-29 18:08:32 +08:00
kolyjjj
98a2a22abf [koly] generate nodejs codes 2016-05-04 17:56:02 +08:00
wing328
c93fcc2643 update php, nodejs, scalatra server for petstore 2016-04-15 20:05:45 +08:00
wing328
35edb00e9b update nodejs server sample 2016-04-09 18:12:46 +08:00
Tony Tam
be5eae6583 rebuilt sample 2016-04-05 07:08:46 -07:00
wing328
27d1e380b8 rename nodejs to nodejs-server 2016-01-24 22:08:05 +08:00
Tony Tam
c7e5c305a9 fixes #1581, rebuilt server 2015-11-17 18:46:33 -08:00
Tony Tam
b2506ab598 rebuilt 2015-10-20 10:32:19 -07:00
wing328
725df15dd5 update sample for nodejs 2015-10-08 23:57:14 +08:00
wing328
8ce06fc898 fix HTML-escaped description on nodejs json files 2015-09-03 22:38:19 +08:00
wing328
1f35f58841 add back summary and description to nodejs swagger.json 2015-07-09 14:05:08 +08:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
Tony Tam
de56f76284 rebuilt sample 2015-03-19 14:52:45 -07:00