William Cheng
c6207c0a49
Mark nodejs-server as deprecated ( #3083 )
...
* mark nodejs-server as deprecated
* update opeanpi3 script
* add new file
2019-06-04 21:38:28 +08:00
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
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
akihito.nakano
1bd393f4ea
Rename 'keywords' for package.json
2018-05-05 01:43:35 +09:00
akihito.nakano
90438b8e71
Tweak indent
2018-05-05 01:38:23 +09:00
akihito.nakano
6c3d7bbc48
Update nodejs samples which skipped overwriting
2018-05-05 01:36:37 +09:00
Akihito Nakano
08e0393def
Fix missing examples ( #305 )
...
* Fix missing examples
* support ArraySchema
* Refactor: move the logic to generate samples from DefaultCodegen to ExampleGenerator
* Delete unnecessary argument
OpenAPI is passed in constructor
* Delete unnecessary 'import'
* Update samples ( bin/springboot-petstore-server.sh )
* Update samples ( bin/openapi3/nodejs-petstore-server.sh )
2018-05-04 17:25:49 +08:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
William Cheng
ddf10b98dc
Update NodeJS server petstore samples with OAS2, OAS3 ( #113 )
...
* update nodejs server oas2
* update nodejs server petstore with oas3
* update nodejs google cloud with oas2 petstore
* update nodejs server google function with oas3
2018-04-17 22:58:13 +08:00
William Cheng
e7f4fb3c45
Fix nodejs-server path issue in windows platform ( #7808 )
...
* fix nodejs-server path issue in windows platform
* only replace character in apiPackage
2018-03-12 23:21:07 +08:00
Ben Wells
6349e79a59
Fix typo in Petstore yaml ( #7195 )
2017-12-18 12:30:57 +08:00
wing328
fee54157c0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-15 17:14:39 +08:00
Paŭlo Ebermann
4b9988c4f2
Update samples for several language (just whitespace changes, reordering, VERSION) ( #5828 )
...
* Update samples for several languages.
Just whitespace changes and some reordering where the order doesn't matter.
* Adding generated .swagger-codegen/VERSION files.
2017-06-14 01:17:31 +08:00
wing328
e1e5ac4d37
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-17 22:00:06 +08:00
Benjamin Douglas
34d9dca5e7
Update samples to current code/scripts
...
This is the result of
- `$ git checkout master`
- `$ bin/run-all-petstore`
No change was made to the code, just ran the aggregate sample generation
script.
2017-05-02 10:33:06 -07:00
wing328
cf8a9a0de0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-03 14:54:50 +08:00
Paŭlo Ebermann
ce41a343d8
Updating all samples (except feign) ( #5281 )
2017-04-02 17:01:15 +08:00
wing328
c9182ba00f
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-30 22:49:11 +08:00
wing328
a15af0828c
update nodejs petstore samples
2017-03-30 22:39:53 +08:00
Paul Ebermann
784169bc3f
Merge branch 'master' into new-sync-master-to-2.3.0
2017-03-15 16:41:33 +01:00
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
Paŭlo Ebermann
e1b1edf958
Merge branch 'merge-2.3.0' into new-sync-master-to-2.3.0
2017-03-14 21:04:47 +01:00
Paul Ebermann
26b618241a
Merge branch 'update-samples-for-sync_master_230' into merge-2.3.0
2017-03-14 13:11:24 +01:00
Paŭlo Ebermann
9be178b26a
Merge branch 'master' into new-sync-master-to-2.3.0
2017-03-13 21:42:41 +01:00
Paŭlo Ebermann
22de105895
Merge remote-tracking branch 'upstream/2.3.0' into merge-2.3.0
2017-03-13 21:26:39 +01:00
Paŭlo Ebermann
3a48ba8bfd
Update all the samples.
...
(except clojure + scalatra, because those are broken, will fixed with later master merge.)
2017-03-13 19:50:10 +01:00
Tony Tam
15a0bf5df5
Refactor nodejs generated code structure ( #4909 )
...
* read directly from templates
* refactor nodejs structure
* dont inject into global scope
* move to 2 spaces consistently
2017-03-06 01:10:01 +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
Tony Tam
ecaa8b1ede
tests, fix for #4647 . Proper escaping project name per npmjs ( #4648 )
2017-01-25 17:08:54 +08:00
wing328
aed21bba73
better code format for nodejs server ( #4411 )
2016-12-23 02:05:10 +08:00
wing328
474dae08cf
update NodeJS readme to remove oudated doc ( #4232 )
2016-11-22 10:42:15 +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
Pedro J. Molina
4eb1565fad
Update petstore sample for changes on PR #3212
2016-06-27 08:10:01 +02: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
0be18399b6
fix tos in swagger spec
2016-04-09 18:15:22 +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
Ron
9a54371ca9
Swagger Spec -> OpenAPI Spec
2015-12-30 14:52:15 -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
Tony Tam
b6e5c55817
updated nodejs server to swagger-tools, supports 2.0 spec
2015-03-18 16:10:54 -07:00
Tony Tam
a1cf365288
rebuilt
2015-02-16 17:37:45 -08:00