SBNTT
a127aab497
--http-user-agent arg support in javascript generator ( #8531 )
...
* add User-Agent header in Javascript generator
* add User-Agent header in Javascript-apollo generator
* update samples
2021-01-26 09:50:16 +08:00
William Cheng
0be3fe6104
Set skipFormModel to true by default ( #8125 )
...
* set skipFormModel to true by default
* update tests
* regenerate ruby faraday client
* remove inline object spec files
* more clean up on inline object files
* update samples
2020-12-18 23:57:19 +08:00
nitoqq
25c7ccf30c
JS Client: Allow dot in path parameter name ( #6116 )
...
* JS Client: Allow dot in path parameter name
* JS Client: Allow dot in path parameter name
* Delete ApiClient.js
* Delete ApiClient.js
Co-authored-by: Nikolai Konovalov <konovalov.nikolai@gmail.com>
2020-12-04 12:27:44 +08:00
Troy P
8cfc9b015a
[JS] ( #7913 ) Adding support for multi file upload. Also adding the option for individual CodeGens to specify a collectionFormat ( #7914 )
...
* updated samples as well
2020-11-25 16:00:08 +08:00
Troy P
70bc472b86
[JS] ( #7910 ) Fixing undefined error caused by no this
instances ( #7911 )
2020-11-23 16:17:09 +08:00
William Cheng
9377dbca56
Add "decimal" support ( #7808 )
...
* rename BigDecimal to decimal
* add isDecimal
* fix tests
* minor fixes
* fix mapping, update doc
* update test spec
* update c# samples
2020-11-02 21:31:32 +08:00
Jakub Surdej
2d30714d5e
Allow auth.accessToken to be either function or string ( #7484 )
2020-09-29 10:56:38 +02:00
William Cheng
d7dfcc20c0
Add server URL without variables to the test spec ( #7517 )
...
* add server url without variables to the test spec
* fix php tests
* fix tests
* fix assertion
2020-09-28 22:06:42 +08:00
William Cheng
ef42977097
remove old test, regenerate js clients ( #7448 )
2020-09-18 14:14:23 +08:00
Troy P
71321bd049
Modifying the es5 and es6 templates for javascript to handle default values ( #6649 )
...
for required fields better. This change ensures the required field isn't
overridden with undefined when the object is constructed - especially through
a chain of constructFromObject calls..
2020-08-20 15:24:11 +08:00
Troy P
780b55a518
[Javascript] Fixing the handling of non primitive types in paramToString ( #7171 ) ( #7172 )
2020-08-10 16:58:55 +08:00
Troy P
9f1d012d14
adding handling for epoch dates in javascript ApiClient mustache file ( #6497 ) ( #6504 )
2020-08-04 23:55:38 +08:00
Jim Schubert
835dab4b50
Fix typescript generator for parameter collectionFormat for pipes ssv ( #6553 )
...
Co-authored-by: David Biesack <David.Biesack@apiture.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com>
Co-authored-by: Michele Albano <michele.albano@gmail.com>
Co-authored-by: Esteban Gehring <esteban.gehring@bithost.ch>
2020-06-05 19:32:32 -04:00
William Cheng
d49de5b577
[JS] mark ES5 as deprecated ( #6408 )
...
* mark js es5 deprecated, remove samples, migrate samples to use oas3
* update test in pom.xml
* update js samples
* delete js es5 samples
* update js petstore
* remove openapi3 js petstore
* fix tests
* skip test/model/AdditionalPropertiesArray.spec.js
* fix test
* update doc
2020-05-26 09:55:00 +08:00
pallxk
15b8210e1f
[JavaScript] Avoid setting Content-Type header if body is not used ( #5344 )
2020-02-17 23:31:27 +08:00
Jim Schubert
78bf3adc4a
[core] Initial FeatureSet structures and definitions ( #3614 )
...
[core] Initial FeatureSet structures and definitions
Add default feature set to DefaultCodegen
Initial FeatureSet definitions for:
* ada
* android
* apache2
* asciidoc
* aspnetcore
* avro
* bash
* c
* clojure
* cpp-pistache-server
* cpp-qt5-client
* cpp-qt5-qhttpengine-server
* cpp-restbed-server
* cpp-restsdk
* cpp-tizen
* csharp
* csharp-nancyfx
* csharp-netcore
* cwiki
* dart
* eiffel
* elixir
* elm
* erlang
* flash
* fsharp-functions
* go Client/Server
* graphql-nodejs-express-server
* graphql-schema
* groovy
* haskell
* haskell-http-client
* java
* jmeter
* kotlin
* kotlin vertx
* kotlin-server
* kotlin-spring
* lua
* mysql
* nim
* nodejs
* nodejs-express
* objc
* ocaml
* openapi
* openapi-yaml
* perl
* php
* php-laravel
* php-lumen
* php-silex
* php-slim
* php-symfony
* php-ze-ph
* powershell
* protobuf
* protobuf-schema
* python
* python-aiohttp
* python-blueplanet
* python-experimental
* r
* ror
* ruby
* ruby
* ruby-sinatra
* rust
* scala-akka
* scala-finch
* scala-gatling
* scala-http-client
* scala-lagom
* scala-play
* scalatra
* scalaz
* spring
* static docs
* swift
* typescript
2020-01-11 16:20:47 -05:00
Jim Schubert
376e419d0b
Support models with multi-level hierarchy (via roxspring) ( #4503 )
...
* Example of broken multi-level hierarchy
* Support for multiple levels of hierarchy in model objects
* Support for multiple levels of hierarchy in generators
* Regenerated samples
* Temporarily skip scalaz sample verification, which is having issue with Java version in CI container
* Re-enable scalaz in verify samples
Co-authored-by: Rob Oxspring <roxspring@imapmail.org>
2019-12-27 15:42:32 +08:00
William Cheng
c2df761772
update JS samples
2019-10-29 12:05:07 +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
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
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
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
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
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
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
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
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
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
wing328
36f14ab757
update JS petstore samples
2017-10-20 22:16:41 +08:00
Halil İbrahim Şener
1f9f8c5a3e
[JavaScript] Fix licenseNames ( #6605 )
...
* [JavaScript] Fix licenseName in package.mustache
* Fix invalid SPDX license expression in resources/2_0
* Update JavaScript samples
2017-10-08 17:15:21 +08:00
Krzysztof Karol
4ee557aa24
Fix swagger-api/swagger-codegen#6345. Wrap optional JSDoc parameter (apiClient) in square brackets ( #6346 )
2017-08-24 10:39:34 +08:00
wing328
fca8d81b2b
[JS] fix template directory for ES5 ( #6253 )
...
* fix #5845 (template dir)
* fix js petstore test case
2017-08-07 22:10:56 +08:00
wing328
b852e61ee9
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-07-09 00:59:41 +08:00
Jan
2774d47a2b
fix: es6 style of Array inheritance to fix transpiler error ( #5977 )
...
* fix: es6 style of Array inheritance to fix transpiler error
* fix: rebuild of promise-es6 petstore samples with fixed mustache
style: added space between classname and bracket
* style: rebuild javascript-all to reflect style changes in mustache
2017-07-05 01:04:07 +08:00
wing328
c988afa766
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-19 11:23:58 +08:00