William Cheng
d4500b307f
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-10-04 15:02:58 +08:00
William Cheng
7dbda049f0
Better tests for string (number) ( #3953 )
...
* beter test for string (number)
* fix mapping
* fix mapping in csharp generators
2019-09-30 15:22:44 +08:00
William Cheng
3019b5a5e1
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-09-22 14:18:07 +08:00
William Cheng
ea029b4029
update doc, samples ( #3875 )
2019-09-11 21:17:11 +08:00
William Cheng
3ebefccfa9
Prepare v4.1.2 release ( #3873 )
...
* update samples
* update date
2019-09-11 18:33:27 +08:00
Benjamin Simpson
239d68df36
[Java][okhttp-gson] fix failure to deserialize floats ( #3846 )
...
* fixed bug where nullApi.java would be generated. Instead, generated DefaultApi.java to match the default path /{pathParam}
* fix to bug #3157
* update samples
2019-09-07 12:36:19 +08:00
Quim Muntal
8f13b88ed9
Support custom git repository ( #3757 )
...
* add gitHost param to GeneratorSettings and related
* parameterize gitHost in READMEs
* parameterize gitHost in go.mod
* parameterize gitHost in git_push
* update petstore samples
* run ./bin/utils/export_docs_generators.sh
* run meta-codehen.sh
* Revert "run meta-codehen.sh"
This reverts commit d6d579f6159186531257cdfdd73b9caf9e9ffeba.
* Revert "run ./bin/utils/export_docs_generators.sh"
This reverts commit 1b81538198d4319fd1b4e97447303e3cc0e8dc99.
* Revert "update petstore samples"
This reverts commit f513add88396707f6991ae2e4920359583ec88f1.
* run ensure-up-to-date
2019-09-03 21:35:49 +08:00
William Cheng
9182784955
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-08-28 14:01:20 +08:00
William Cheng
d0d545bbdd
Prepare 4.1.2 snapshot ( #3758 )
...
* update pom
* update samples
* update ts axios samples
2019-08-26 22:13:12 +08:00
William Cheng
c3535cf9ca
Add test cases to cover different collection formats ( #3640 )
...
* add test cases to cover different collection format
* add space params to retrofit 1.x
* add space params to retrofit 2.x
* rename url to localVarUrl
* fix exception in haskell servant
2019-08-15 11:09:12 +08:00
William Cheng
01222268e8
update samples
2019-08-11 18:56:47 +08:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT ( #3603 )
...
* update pom
* update samples
* update pom
2019-08-10 09:41:08 +08:00
Freeman
a3cf964ce9
Upgrade babel packages for Javascript ES6 generator ( #3424 )
...
* Upgrade babel packages for Javascript ES6 generator
* Fix @babel/register in test script
2019-07-25 14:31:27 +02:00
wing328
9df5bdabc8
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-07-02 22:48:09 +08:00
Michael Petö
1730a4efce
Fix typo in javascript generator template ( #3249 )
...
* Fix typo in javascript generator template
* Update sample client
2019-06-30 12:07:49 +08:00
wing328
7534df4520
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-26 16:01:23 +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
sylvainmoindron
7916f2f880
[kotlin-spring] add reactive behavior via Kotlin coroutines ( #2934 )
...
* kotlin spring : add reactivity via kotlin's coroutines
* add kotlin spring boot reactive samples
* bug : fix spring version and import for coroutines
* remove exception handler for reactive (webflux doesn't support it)
* add spring milestone repository to maven pom
* add reactive type for list in Api and ApiImpl methodes for mathching body responsive parameter
* fix baseType for ArraySchema
* regenerate samples
* updating documentation
2019-06-02 15:50:45 -04:00
William Cheng
7e457f7e41
sync master
2019-06-03 00:32:13 +08:00
William Cheng
8d3a1a5add
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-03 00:06:43 +08:00
Jérémie Bresson
dc81574f2b
Update version to 4.0.2-SNAPSHOT ( #3047 )
...
* Update version to 4.0.2-SNAPSHOT
* Update samples
* Change AppVeyor script (test of gradle sample)
* Fix release version bump script (gradle plugin, sample poms)
* Include sonatype snapshots in maven examples which reference 4.0.2-SNAPSHOT
2019-06-01 21:32:44 -04:00
William Cheng
24187b8186
update petstore samples
2019-05-15 00:10:03 +08:00
William Cheng
cbe39ba881
Set version to 4.0.1-SNAPSHOT ( #2882 )
2019-05-14 10:28:32 +02:00
William Cheng
dc0c24b955
Minor wording change ( #2875 )
...
* better wording for version of openapi doc
* update petstore samples
2019-05-13 15:59:59 +08:00
Jonas DOREL
305f78c52b
JS Client - Add support for empty enum in server object ( #2853 )
...
* Add support for empty enum in server object
* Updated samples
2019-05-13 14:21:43 +08:00
Matthieu Berthomé
ee43cc1520
handle composed schemas in InlineModelResolver ( #2112 )
...
* handle composed schemas in InlineModelResolver
* fix unit test -> TestUtils.parseSpec
* update samples
* fix samples
* update samples
* update samples
* add new files
2019-05-08 10:19:15 +08:00
Jonas DOREL
f2f12b9e04
[Documentation] Add instructions to build the javascript client module ( #2806 )
...
* Add instructions to build the module
* Updated samples
2019-05-05 17:32:05 +08:00
William Cheng
85d05981ec
Unescape HTML characters in JS docstring ( #2636 )
...
* unescape html characters in JS docstring
* better codee format
2019-04-11 23:30:00 +08:00
William Cheng
18b500218a
[JS] fix NPE for null string and improve Travis config file ( #2553 )
...
* fix NPE with null string
* update travis for nodejs
* update js samples
2019-03-31 16:15:09 +08:00
Vincent Devos
8977d7b366
[JavaScript] fix index.js, ApiClient.js and test files generated to incorrect location ( #2511 )
...
remove outdated samples files
update test dependencies
2019-03-30 10:04:44 +08:00
William Cheng
f015363dbd
update samples
2019-03-25 22:44:05 +08:00
William Cheng
2e777c04d4
Better handling of operationId with slashes ( #2469 )
...
* better handling of operation id with slashes
* update smaples
2019-03-22 10:41:53 +08:00
Kevin Smith
1a19edb0e5
Add build script and remove babel ( #2439 )
...
* Add build script and remove babel
This change adds a build script which uses babel to transpile generated es6 source to es5, such that it can then be used in node projects or published as a package to npm. The `babel` package is also removed as it is deprecated, and superseded by `babel-cli`.
See https://github.com/OpenAPITools/openapi-generator/issues/2126#issuecomment-473926663
* update samples
2019-03-21 22:36:56 +08:00
Justin Black
b67318ef21
Adds spec additionalProperties + nullable examples ( #2405 )
...
* Adds v2 spec additionalproperties examples, adds v3 spec nulllable model example, updates samples
* Remaining samples updates
* Adds csharp generator update to handle models with multilevel parent types, which works for the AdditionalPropertiesObject model, samples updated
2019-03-20 15:31:28 +08:00
William Cheng
348c22c883
Add "servers" support to operation, path in the JS client ( #2060 )
...
* add operation, path servers to js es6 client
* add servers support to operation, path in js es5
* fix null check
2019-02-09 22:25:01 +08:00
William Cheng
6801741592
Add Bearer authentication support to JS client ( #2020 )
...
* add bearer authentication support to js client
* add bearer format to js client
* fix test case
* update php ze-ph samples
2019-01-31 15:27:24 +08:00
William Cheng
83d34bd8d7
Add multiple servers support to JS API client ( #1974 )
...
* add multiple servers support to JS ES6
* multiple server support in js es5
* using exports in es5
* fix index check
* add oas v3 js es6 client to travis
2019-01-29 11:19:21 +08:00
sredbull
1189362466
[JavaScript] Added plugins variable for the javascript/ES6 client ( #1797 )
...
* Added plugins variable for the javascript/ES6 client
* Ran the javascript and javascript-es6 shell script
2019-01-07 12:18:03 +08:00
William Cheng
f0f214743e
Use JS ES6 as the default ( #1825 )
...
* set JS ES6 as the default
* update doc
2019-01-07 11:43:11 +08:00
William Cheng
8c599ebf12
Add support for multiple inheritance ( #1664 )
...
* add all parent names
* clean up supportsInheritance
* fix npe
* fix allVars, fix test cases
* add more tests, remove comments
* update docker m2 cache dir, add more tests, fix mandatory
* update samples
* regenerate js spec files
* add logic to detect self reference
* add isSelfReference flag to codegen property
* add ruby tests for cat model
* remove debugging info
* fix JS allvars not have x-js-doctype
* update samples
* update js samples
2018-12-15 00:24:36 +08:00
William Cheng
8f8d3547f6
Update JS client dependency ( #1578 )
...
* update js dep
* fix missing comma
* remove unused test files in JS
* remove StringBooleanMap.spec.js
* remove StringBooleanMap.spec.js
2018-11-30 18:47:32 +08:00
William Cheng
bf2932d41c
fix array of enum class in JS ( #1484 )
2018-11-24 17:04:59 +08:00
William Cheng
f8ada391c4
Fix boolean value handling in HTTP request body ( #1515 )
...
* fix boolean http body handling
* fix typo in parameter name
2018-11-24 16:42:32 +08:00
William Cheng
3b53ac435f
fix duplicate call in JS ( #1270 )
2018-10-26 18:28:37 +08:00
William Cheng
47b3210cb2
Add js-beautify support to JS generator ( #961 )
...
* add js-beautify support to JS generator
* replace tab with space
* update samples without JS_BEAUTIFY_PATH
2018-09-08 18:06:27 +08:00
delenius
9d89387d83
Fix cookie support in Node.js client ( #895 )
2018-09-04 16:31:33 +08:00
Akihito Nakano
21777f2759
[JavaScript] Update vulnerable dependencies ( #784 )
...
* Update vulnerable dependencies
* Update samples: javascript-es6
* Update samples: javascript-promise
* Update samples: javascript-promise-es6
* Update samples: javascript
* Update samples: petstore-security-test/javascript
* Rename operationId if it starts with a number
* Update samples
bin/javascript-petstore.sh
bin/javascript-es6-petstore.sh
bin/javascript-promise-petstore.sh
bin/javascript-promise-es6-petstore.sh
2018-08-10 21:50:33 +08:00
delenius
c607ea8b31
Add fixes for es6 generator ( #180 )
...
Various fixes for JS (ES6) generator
2018-06-17 01:59:23 +08:00
Stian Liknes
24104dac35
Add option modelPropertyNaming to javascript generator ( #299 )
...
* Add option modelPropertyNaming to javascript generator
Fixes 6530
* Update Petstore sample
2018-06-14 19:19:23 +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