Commit Graph

838 Commits

Author SHA1 Message Date
William Cheng
290550ef91
Add build badges for 4.2.x branch (#3610) 2019-08-12 00:35:49 +08:00
Jim Schubert
06533b977c
[core][gradle] User-defined server variable substitutions (#3363)
* [core] Initial support for server variable overrides
* [gradle] Support user overrides for serverVariables
* [core] Clarify server variable overrides, and propagate them to templates in the "servers" array
2019-08-11 09:57:36 -04:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT (#3603)
* update pom

* update samples

* update pom
2019-08-10 09:41:08 +08:00
William Cheng
59c4e381d1
Prepare 4.1.0 release (#3597)
* update pom

* update doc

* update version

* add dep for nullable annotaiton
2019-08-09 22:25:32 +08:00
William Cheng
2d7cc778db
Add a new NodeJS Express server generator (#3567)
* create nodejs express esrver

* 1st commit of the express.js module. Express server working, api-docs loads properly. No real paths yet

* 1st commit of the express.js module. Express server working, api-docs loads properly. No real paths yet (#2839)

* Working Express server with successful routing to controllers.

* rewrote controllers and services. Haven't tested yet

* controllers and services have passed tests successfully

* Added documentation

* Added documentation

* Support for openApi v3, using 'express-openapi-validator' for parsing and validation, and an internal router to pass arguments to controllers and services. /controllers/Pet.js and /services/PetService.js should be used for reverse engineering for future codegen script

* update generator and template

* update samples

* more update

* update service, controller

* add vendor extensions

* some updates to adapt to changes in the generator (removing references to swager); some work on handling file uploads; some work on tests

* Update NodeJS server generator and templates based on new output (#3261)

* update generator and template

* update samples

* more update

* update service, controller

* add vendor extensions

* update doc

* Changed routing code to follow the following convention:
Each path operation has a 'x-openapi-router-controller' and 'x-openapi-router-service'. Automated files will be placed under /controllers and /services respectively.
Controller file names will end with 'Controller.js'.
Removed swaggerRouter, replaced it with openapiRouter
Routing works and simple tests show a return of 200 to requests.

* [nodejs-express-server] various updates, fixes (#3319)

* various fix

* remove dot from service

* add space

* better method empty argument

* remove test service (#3379)

* add new doc

* 1. routingTests.js runs through all operations described in openapi.yaml and tries calling them, expecting 200 in return. Currently not all tests pass - not supporting xml, and problems with formData
2. Removed old testing files.
3. Added model files - contain data and structure as defined in openapi.yaml. Model.js has static methods relevant to all model files.
4. Changed openapi.yaml to allow running tests easily.

* 1. routingTests.js runs through all operations described in openapi.yaml and tries calling them, expecting 200 in return. Currently not all tests pass - not supporting xml, and problems with formData (#3442)

2. Removed old testing files.
3. Added model files - contain data and structure as defined in openapi.yaml. Model.js has static methods relevant to all model files.
4. Changed openapi.yaml to allow running tests easily.

* added model classes. Currently as a concept only. Seems like won't be in use

* Updated README.md to be a detailed description of the project.
Removed test files that are not needed.
Removed utils/writer.js which is not needed, and the references to it in the codegen files

* Removed redundant file app.js - this file has no benefit at this point. index.js now calls ExpressServer.js directly. Updated files that used to call app.js. Updated README.md accordingly
Added a path to call the openapi.yaml, and a test file for all endpoints that are not in the openapi.yaml, ensuring that they return 200. Updated README.md accordingly

* Remove test controller (#3575)

* remove test controller

* add back changes to templates

* remove app.js

* update wording
2019-08-09 00:30:47 +08:00
Anıl Can Aydın
3538c08a8b Readme updated with a new tutorial and company using OpenAPI Generator (#3566) 2019-08-06 16:24:29 +08:00
William Cheng
3f7653a5c9
Add a link to join the Slack workspace (#3554) 2019-08-04 23:57:19 +08:00
William Cheng
480d6baf3b
Add @meganemura @dkliban as the template creator of Ruby Faraday client (#3544) 2019-08-03 14:54:18 +08:00
William Cheng
ffaeb11a61
Add cgensoul to OCaml tech committee (#3536) 2019-08-02 14:15:49 +08:00
William Cheng
dff3386594
Remove Gitter badge 2019-08-02 09:44:42 +08:00
Richard Whitehouse
199447a398 Add richardwhiuk to the Rust Technical Committee (#3506) 2019-07-31 13:50:51 +02:00
William Cheng
6e3176557c
[OCaml] various enhancements (#3483)
* add ocaml template creator

* various enhancement to ocaml generator

* update instruction

* update doc

* remove readme

* add back readme
2019-07-29 10:07:32 +08:00
William Cheng
b9e863a9ca
Add bbdouglas as the template creator of Java (Java 11 Native HTTP client) 2019-07-27 22:49:01 +08:00
William Cheng
652b14c28f
Add drone.io CI for Java 11 test (#3472)
* add drone.yml

* use maven wrapper instead

* break the build

* Revert "break the build"

This reverts commit 69769d6cadd4c25ea5e8c5ed2bc5115ec29b0ecb.

* add drone.io badge to README

* update wording
2019-07-26 20:21:38 +08:00
William Cheng
da62116c9d
Add bkabrda to Go technical committee (#3454) 2019-07-25 15:35:55 +08:00
William Cheng
3f7725c9e2
update brew instruction (#3445) 2019-07-25 10:19:40 +08:00
William Cheng
ab644f9912
Add GoDaddy as domain name sponsor (#3443)
* add godaddy as domain name sponsor

* resize godaddy logo

* add back new line

* remove space

* highlight sponsor
2019-07-25 00:43:19 +08:00
Akihito Nakano
2c4fdd0792 Update links (#3410) 2019-07-24 13:48:17 +09:00
John Wang
21e29d7177 fix README.md missing paren typo (#3391) 2019-07-19 09:44:31 +02:00
wing328
5c7d902c4c fix link to open summit presentation 2019-07-19 15:15:22 +08:00
William Cheng
e58cc2a282
Update README.md 2019-07-19 15:10:01 +08:00
Akihito Nakano
244eefcec4 Add a link to the article by CAM, Inc. (#3355) 2019-07-15 16:46:26 +08:00
yuji38kwmt
ee27a1ec2b Update README.md (#3353)
add "OpenAPI GeneratorでPythonのクライアントライブラリを作成した by yuji38kwmt" to "Presentations/Videos/Tutorials/Books"
2019-07-14 15:22:24 +09:00
William Cheng
40a6e639d4
Add links to Codewind OpenAPI Tools (#3350) 2019-07-13 10:39:58 +08:00
William Cheng
14f611d159
add wso2 to company list (#3330) 2019-07-10 16:35:34 +08:00
William Cheng
d7b390f328 udpate readme 2019-07-10 00:00:14 +08:00
William Cheng
203fc812bd
v4.0.3 release (#3315)
* update snapshot version

* update doc

* comment out haskell servant server test
2019-07-09 20:44:31 +08:00
Raphael Ochsenbein
26e775cd4c [typescript] added @akehir to the typescript technical committee (#3314) 2019-07-09 09:37:04 +02:00
Jim Schubert
51e7005373
[online] Remove GENERATOR_HOST defaults (#3289)
The defaults configured for GENERATOR_HOST didn't really make sense.
When running the docker container with `-P`, GENERATOR_HOST defaulted to
http://localhost. This caused download links for generated client/server
code to be incorrect. For most cases, there's no reason to provide
GENERATOR_HOST as the code already figures the appropriate
scheme/host/port from the originating request.

GENERATOR_HOST could still be used for more complex deployment
scenarios, for instance if a specific server is configured as a file
server. I haven't tested this scenario, and it may require mounting /tmp
as a volume when running within a container.
2019-07-07 10:25:43 -04:00
William Cheng
441f6327d9
Update R technical committee (#3284) 2019-07-05 15:49:19 +08:00
William Cheng
267c9bdcf8
Add a link to Japanese eBook (REST API のためのコード生成入門 (OpenAPI Generator)) (#3280) 2019-07-04 22:24:35 +08:00
Matthias Neubert
dda2f3c141 Update README.md (#3273)
Added DB Systel as a company using OpenAPI-generator
2019-07-03 18:38:06 +08:00
William Cheng
f41cd234d9
Fix release table in the readme (#3221) 2019-06-26 22:09:16 +08:00
William Cheng
c1771c94bd
Add template creator: C# ASP.NET Core 3.0: @A-Joshi (#3213) 2019-06-25 19:23:49 +08:00
Jim Schubert
6b428d65f6
Release versioning helper script(s) (#3110)
* Release versioning script with marker tags.

Introduces bump.sh which supports moving from version to version but
only within delimiting marker tags in the target file.

This script currently doesn't do validations or anything fancy.

* Allow bumping version according to type (major,minor,build,revision)

* bump.sh will display error if file contents are unchanged
2019-06-24 18:22:10 -04:00
William Cheng
38008e669e
Minor fix to presentation link 2019-06-24 14:42:01 +08:00
William Cheng
038afd6650
Add a link to the speaker deck at Kubernetes Contributor Summit (#3205)
Add a link to the speaker deck at Kubernetes Contributor Summit
2019-06-24 14:00:18 +08:00
William Cheng
b6bb13b93c
Add "yue9944882" to Perl technical committee (#3194) 2019-06-21 21:52:35 +08:00
William Cheng
8e11fd9fe4
Prepare 4.0.3-SNAPSHOT (#3185)
* update version to 4.0.3-SNAPSHOT

* update readme

* update gradle, maven plugin

* update release schedule

* update samples
2019-06-20 18:50:49 +08:00
William Cheng
fae9d4a37b
4.0.2 release (#3181)
* remove snapshot version

* update stable version

* remove build.gradle sample from relesae script
2019-06-20 12:39:15 +08:00
William Cheng
4ead766b9e
Add Fuse to the company list (#3164)
Add Fuse to the company list
2019-06-18 16:45:13 +08:00
William Cheng
d86f3edc73
update core team in pom.xml (#3126) 2019-06-09 11:48:13 +08:00
Jim Schubert
c2f5038d75
Add/update new core team member: etherealjoy (#3116) 2019-06-06 15:36:00 -04:00
William Cheng
e68426fda9
Add @sunn to openapi generator core team (#3105) 2019-06-06 02:10:21 +08:00
William Cheng
ded0bd6801
Update CI badges to 4.1.x (#3069)
Update CI badges to 4.1.x
2019-06-03 11:41:38 +08:00
William Cheng
b74fa4458d
Update compatibility table
Update compatibility table
2019-06-03 00:03:16 +08:00
William Cheng
39648ee3a7
Prepare 4.0.1 release (#3041)
* update snapshot version

* update to 4.0.1
2019-05-31 23:42:55 +08:00
Gualtieri Mario
50878fbc2e [TS][Inverisify] Adding support for RxJS 6 (#2793)
* Add support to http patch method

* Add support to rxjs6

* Align sample

* Add sample for openapi3

* Change usage of single quote to use only double ones

* Fix wrong changes of typescript-angular package.json template

* Add `map` keyword inside reservedWords

* Add typescript-inversify inside README


Add typescript-inversify inside README

* fix merge issue, update petstore

* update doc
2019-05-27 23:33:07 +08:00
William Cheng
e284d2e466
Add a link to eBook (traditional chinese) (#2989) 2019-05-25 00:07:37 +08:00
William Cheng
d139219bba
Add a link to Simplified Chinese eBook on OpenAPI Generator (#2970)
Add a link to Simplified Chinese eBook on OpenAPI Generator
2019-05-22 18:27:26 +08:00