djairhogeuens
d9e93ce6ca
feature: Typescript-angular support single request param ( #4479 )
...
* adds support for useSingleRequestParameter for typescript angular generator
* updates samples
* removes tab
* updates documentation
* removes tabs
* Revert "updates samples"
This reverts commit 8c5bfd94bdbd52187c1f38c43292dbba2cc483ef.
* updates samples
* adds configuration for sample generation
* fixes script
* sets executable flag
* fix docs
2019-11-14 10:51:37 +01:00
Bruno Coelho
fe0b3ce24d
[kotlin][client] improve nonpublic api ( #4478 )
2019-11-14 16:19:08 +08:00
Jim Schubert
4a91e62fb7
[ci] Setting ensure-up-to-date to use batch option in CircleCI ( #4445 )
...
* [build] Enable --batch option in ensure-up-to-date
* [samples] Regenerate
* [ci] Use --batch in CircleCI script
2019-11-13 18:06:14 +08:00
Rob Deutsch
64c1547c5d
typescript-fetch: Only generate npm package if npmName specified ( #4472 )
...
* Only generate npm package if npmName specified
* additionalProperties not available in constructor
2019-11-13 07:37:21 +01:00
William Cheng
fa1e003a3b
minor enhancement to c client generaotr ( #4457 )
2019-11-13 13:34:31 +08:00
Eric Feliksik
440e3f301d
Re-interrupt the thread in the generated code ( #4382 )
...
* Re-interrupt the thread in the generated code, otherwise the client has to check for
the type of the cause of the thrown exception.
* update samples
2019-11-13 13:28:50 +08:00
Alexander Eggers
34c715e4ce
[Kotlin][Client] Add option to make all api method return a nullable model ( #4422 )
...
* Added new additional parameter to allow nullable api return types
* Tweaking samples and .bat files
I've added new .bat files for the kotlin-client to alllow windows-devs to re-generate required samples via windows-shell (for CI).
2019-11-12 22:15:54 -05:00
Yurii Zhoholiev
4494bf1e9a
[csharp-netcore] Propagate raw content to the ApiException error content. ( #4381 )
...
* [csharp-netcore] Propagate raw content to the ApiException error content.
2019-11-12 15:58:38 -05:00
Sébastien Masset
99204ecd66
Avoid generating uncompilable response body in Spring's API template ( #2903 )
...
* Moved example string to a dedicated variable in Spring's methodBody template
* Created a new exampleString template for JavaSpring
* Added a new mustache lambda to trim whitespace in fragments
* Added a new lambda to split long fragments into compilable strings
* Use newly introduced lambdas in Spring's API template to avoid generating uncompilable example code
2019-11-12 17:49:05 +08:00
Martin Delille
21a291f569
cpp-qt5-client: remove host since it is not well handled ( #4429 )
...
* fixup! Simpler timeout with QTimer::singleShot (#4430 )
* cpp-qt5-client: remove host since it is not well handled
* Move disconnect again
* cpp-qt5-client: handle scheme/host/port properly
* Fix port change try
2019-11-12 09:39:31 +01:00
atsharp
9ceabc760c
[Java] Refactor webClient generator to use URI templates to capture correct metrics ( #4314 )
...
* Fixing URI templating for webclients to support Spring metric collection
* Revert accidental change to test
2019-11-12 16:17:38 +08:00
Jorge Rodriguez
94b58634a7
[Java]: Client resttemplate and webclient: array parameters of type integer in path badly generated ( #4379 )
...
* 4375: Client resttemplate and webclient: array parameters of type integer in path badly generated
* 4375: Fix samples
* 4375: Fix samples
* 4375: Fix samples
2019-11-12 16:15:34 +08:00
William Cheng
84d3562a0f
[Kotlin][Client] minor improvements ( #4419 )
...
* minor improvement to kotlin generator
* minor code format change
2019-11-11 16:36:07 +08:00
Man
dbbe2b8b2d
[asciidoc] fix names of parameters ( #4440 )
...
Fixes #4408
* fix header hierarchy in model section
* small fix markup on dataformat enum (italic)
* fixes parameter names casing
2019-11-10 16:11:55 -05:00
Martin Delille
7e6e87a857
fixup! Simpler timeout with QTimer::singleShot ( #4430 ) ( #4435 )
...
* fixup! Simpler timeout with QTimer::singleShot (#4430 )
* Move disconnect again
* Fix self assignement in HttpRequest.cpp.mustache
2019-11-10 17:05:22 +01:00
Martin Delille
d0b2465b89
Simpler timeout with QTimer::singleShot ( #4430 )
2019-11-10 11:40:11 +01:00
Martin Delille
3e87a5fbaf
cpp qt5 client: fix prefix bug ( #4432 )
2019-11-10 09:44:45 +01:00
Jim Schubert
357f6caed5
[meta] Support Kotlin meta generator ( #4156 )
...
* [meta] Support Kotlin meta generator
* Guard against automatic scripts (assumptions for this script are not fulfilled by some CI which run "run all" type scripts)
2019-11-09 10:47:55 -05:00
William Cheng
db729be7df
[Go][Server] minor enhancement to the template ( #4417 )
...
* minor enhancement to the go server template
* update samples
2019-11-09 11:24:12 +08:00
Richard Whitehouse
de162f7f34
[Core, Rust Server, ASP.NET Core] Fix Codegen Operation Scope Consistency ( #3495 )
...
Fix Codegen Operation Scope Consistency
- Filter scopes based on operation
- Partially revert #1984 to not rely on custom attributes as to whether scopes exist
- Fix filtering global authentication schemes
2019-11-08 13:30:35 +00:00
Joel Beach
79d7e61b87
Fix treatment of nullable types in a few more places ( #4315 )
2019-11-08 08:06:11 +01:00
William Cheng
05e954c8aa
prefix local variable with localVar ( #4402 )
2019-11-08 15:04:33 +08:00
Bruno Coelho
7cf027fbf5
[kotlin][client] gson complete integration ( #4332 )
...
* [kotlin] update dependencies
* [kotlin][client] complete gson integration
* [kotlin][client] run petstores
* [kotlin][client] fix JsonMediaType and update petstores
* Add kotlin client gson to pom.xml
* Remove org.json dependency
* Try to fix kotlin-gson build
* Add kotlin client nonpublic to pom.xml
* Update samples
* try to fix build
* try to fix build
* try to fix build
* try to fix build
* [kotlin][client] restore libraries version
* [kotlin][client] update kotlin version
* [kotlin][client] update some libraries versions
* [kotlin][client] update some libraries versions
* [kotlin][client] add kotlin-gson and kotlin-nonpublic to CI test suit
* [kotlin][client] update some libraries versions
* try to fix build
* try to fix build
2019-11-08 15:02:48 +08:00
sunn
048fe29226
Update isSet when the object is received from callback. ( #4385 )
2019-11-07 16:55:02 +01:00
Martin Slemr
f0bcaaf45d
Ruby client nullable ( #4391 )
...
* Ruby Client: implementation of nullable
* Ruby samples with nullable implementation
* [Ruby] openapi_nullable as a Set and skipping attrs fix
2019-11-07 16:15:00 +08:00
Arun
649eab2868
[Python] [Performance] Avoid unnessacary checks inside the loop ( #4305 )
2019-11-07 10:49:54 +08:00
sunn
c25a02f77f
update cpp flag for pistache ( #4386 )
2019-11-06 10:07:59 +01:00
William Cheng
55737c236c
skip the test as async call may have finished ( #4377 )
2019-11-06 10:35:59 +08:00
William Cheng
c4f0b09459
Fix Jackson databind security issue ( #4370 )
...
* fix jackson databind security issue
* update groovy sample
* fix groovy dep version
2019-11-06 10:27:08 +08:00
Arun
e3bfa282e5
[Python-Experimental]: Remove redundant else statement ( #4324 )
...
* [Python-Experimental]: Remove redundant else statement
* Run petstore
2019-11-04 16:32:53 +08:00
William Cheng
4ca9430474
sync master, update doc
2019-11-04 09:38:22 +08:00
William Cheng
4824bb7711
sync master, update samples
2019-11-04 09:28:19 +08:00
William Cheng
61d7d22b24
smaller tests, better code format ( #4355 )
2019-11-03 23:18:09 +08:00
Jacob Bundgaard
f352fa6fb5
csharp-netcore: Replace null literals with default ( #4345 )
...
* csharp-netcore: Replace null literals with default
Same fix as applied to the csharp generator in #3537
* Update Petstore samples
2019-11-03 18:07:20 +08:00
Bruno Coelho
de9f56969d
[kotlin][client] annotate api exceptions ( #4339 )
...
* [kotlin][client] annotate api call exceptions
* [kotlin][client] run petstores
2019-11-03 17:26:46 +08:00
Jason Lee
3f72f8da50
refactor java-vertx-web parameters and bugfix on non primitive parameter ( #4353 )
2019-11-03 17:24:46 +08:00
Sai Giridhar P
ea600989f7
[python][metadata]: Adding license and author fields ( #4318 )
...
* fix(license): Fixing the license and author information
* fix(license): Fixing the license and author information
* fix(metadata): Adding default values for contact details and license fields
* fix(metadata): Adding default values for contact details and license fields
2019-11-03 14:58:39 +08:00
Arun
fe3b59d3c5
[Python] Avoid pep8 violation ( #4316 )
2019-11-03 14:48:42 +08:00
Mikhail Boldyrev
a9854ce71e
[JS] Update package.json ( #4261 )
...
* Update package.json
* Update package.mustache
* Update package.json
* Update package.json
* Removed 'js:' in package.json and package.mustache
2019-11-03 14:13:40 +08:00
William Cheng
931908c77c
fix security alerts reported by github ( #4344 )
2019-11-01 11:16:36 +08:00
lwlee2608
a9ea8636e5
fix cpp-restbed-server json field serialization #4320 ( #4323 )
2019-11-01 10:56:12 +08:00
William Cheng
47e2c0d027
update samples ( #4334 )
2019-10-31 13:31:49 +08:00
William Cheng
34070bd151
Prepare 4.2.0 release ( #4333 )
...
* remove snapshot
* update doc
2019-10-31 11:36:53 +08:00
Fjolnir-Dvorak
d624b28c96
[FEATURE][Haskell] Haskell-Servant serves static files ( #4058 )
...
* updated the golden files for haskell to be able to generate against those
* Haskell-servant now serves static files which are in a directory called "static"
* I missed to regenerate the docs directory
2019-10-30 20:47:53 -05:00
Fjolnir-Dvorak
4958ad74e7
[FEATURE][Haskell] Add Middleware support for the haskell servant generator ( #4056 )
...
* updated the golden files for haskell to be able to generate against those
* Added support for middlewares in the haskell servant generator.
* Renamed runOpenAPIPetstoreServer to runOpenAPIPetstoreMiddlewareServer and added a backwards compability version runOpenAPIPetstoreServer using requestMiddlewareId as middleware.
2019-10-30 20:47:35 -05:00
William Cheng
33f63d6163
Do not HTML escaped the description in the doc ( #4321 )
...
* html escaped the description in the doc
* update python oas3 sample
2019-10-31 09:10:05 +08:00
Sai Giridhar P
2188e0feda
[r][license]: Fixing license and contact information ( #4317 )
...
* fix(license): Fixing the license information
* fix(license): Fixing the license information
2019-10-30 17:11:16 +08:00
Sai Giridhar P
ec3569e922
[python][fix] Adding model summary to model documentation files ( #4306 )
...
* feat(documentation): Adding model documentation
* feat(documentation): Adding model documentation
* feat(documentation): Adding model documentation
* feat(documentation): Adding model documentation
2019-10-30 17:10:02 +08:00
Sai Giridhar P
284c9dc6c5
feat(documentation): Adding model documentation ( #4308 )
2019-10-30 17:09:25 +08:00
Sai Giridhar P
73db23a2d7
feat(documentation): Adding model documentation ( #4309 )
2019-10-30 17:08:33 +08:00