Paul-Etienne François
249968e397
[Java][Native] Fix the Content-Type and Accept headers that were forced to application/json ( #11303 )
...
* [Java][Native] Fix the Content-Type and Accept headers that were forced to application/json
* Update the generated samples after fixing issue no. 6779
2022-01-16 00:51:40 +08:00
Anakael
1b6d0f8746
Add condition for header ( #11325 )
2022-01-16 00:18:12 +08:00
Knut Johannes Dahle
692a4db964
Added fix for wrongly encoded backticks when generating kotlin client with reserved words as part of the parameters. Wrote a test verifying that the method signatures is without html encoding for backticks ( #11310 )
2022-01-15 23:59:42 +08:00
Ethan Keller
6430aaf3b1
recursively search for types during import type collection in deeply … ( #11221 )
...
* recursively search for types during import type collection in deeply nested schemas #11220
* composed schema recursive type import handling
* change Importable to ComplexType to modularize related type-wrangling.
* Problems...
* Revert "Problems..."
This reverts commit 6154f202a0f4db7a706fe3d61b45573581d164d4.
* Reverted attempts to reuse recursive type-finding code.
* add javadoc comments
* fix javadoc warning.
* fix NPE
* PR feedback incorporation
* Include additionalProperties recursion.
* More feedback
* More feedback
* Add comments from feedback
2022-01-14 12:39:22 -08:00
Justin Black
57987424a4
Revert "Has generators set default template engine ( #11245 )" ( #11316 )
...
This reverts commit dd3bba8c9442f2ee40d6ea8f0872ab0be43714b9.
Because it broke peoples builds per this issue https://github.com/OpenAPITools/openapi-generator/issues/11276
2022-01-14 10:52:36 -08:00
Amelia Raia
d8cb6bd894
Allow the user to pass in any headers per request. #11139 ( #11140 )
...
* [Python] Allow the user to pass in any headers per request
* Update docs
* Update docs
Update Docs _headers
* Add test
Co-authored-by: Rizwan Saeed <rizwan.saeed@finbourne.com>
2022-01-13 15:25:40 -08:00
dependabot[bot]
0323708b97
Bump follow-redirects from 1.10.0 to 1.14.7 in /website ( #11300 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.10.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.10.0...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 01:08:40 +08:00
William Cheng
759883f804
minor enhancements to java camel generator ( #11296 )
2022-01-14 01:08:22 +08:00
Bodo Graumann
7129cdebc5
[typescript] Make module usable with esbuild ( #11298 )
...
* Use default import from url-parse
* Update samples
* Fix typo in readme
2022-01-13 17:06:04 +01:00
William Cheng
dff3944d19
update doc
2022-01-13 18:16:48 +08:00
William Cheng
3e8dc31ec5
update samples
2022-01-13 01:49:52 +08:00
Giacomo
2e6e82161f
Apache Camel Server Generator ( #11162 )
...
* Created Apache Camel language
* Added unit test
* Fix template dir
* Fix description api
* Camel Dataformat Properties
* Apache Camel Doc
* Apache Camel Doc
* Apache Camel Doc
* Apache Camel maven plugin example
* Fix LOGGER
* Samples
* Camel 3.14
* Samples
* samples
* up to date
* Rename camel to java-camel
* up to date
* Fix SerializedName in modules/openapi-generator/src/main/resources/JavaSpring/pojo.mustache
2022-01-13 01:28:02 +08:00
William Cheng
69b64ebb0e
[kotlin][client] add tests for comma separated list in array path params ( #11293 )
...
* add tests for kotlin-array-simple-string
* add new files
* remove build fies
* clean up
2022-01-13 01:26:07 +08:00
Johan Sjöblom
3ed9a8e53c
Make Kotlin client generate comma separated list for array path params ( #11228 )
2022-01-13 00:59:00 +08:00
방진영
69db8176b6
keyword conflict with zebos list_creat(), list_free() ( #11190 )
...
* keyword conflict with zebos list_creat(), list_free()
* keyword conflict in zebos list_create list_free
2022-01-13 00:42:58 +08:00
Ashutosh Gangwar
1bfed460c5
Fix missing ApiKeyAuth import in 'jvm-retrofit2' Kotlin client template ( #11286 )
...
* fix incorrect ApiKeyAuth import in jvm-retrofit2 kotlin-client template
links to
- https://github.com/OpenAPITools/openapi-generator/issues/10008
- https://github.com/OpenAPITools/openapi-generator/pull/10708
* update kotlin-retrofit2 samples
2022-01-12 19:22:24 +08:00
Justin Black
95a1154c20
python-experimental adds DecimalSchema ( #11282 )
...
* Fixes test
* Adds decimal examples to the pythonExp generator
* Adds isDecimal to CodegenModel, updates python-exp samples
* Fixes decimal types in ObjectModelWIthDecimalProperties and DecimalPayload
* Updates tests
* Decimal feature added to python-exp docs
* Samples and docs regenerated
2022-01-11 21:51:50 -08:00
Justin Black
ce04e9b6a2
python-experimental, redundant docstrings removed ( #11281 )
...
* Removes docstrings drom models because type hints already includes this info
* Samples updated
2022-01-11 09:31:25 -08:00
jiangyuan
45b66d660a
[python] modify python import classVarName to classFileName ( #11180 )
...
* fix python import classVarName to classFileName
* add samples change
2022-01-10 23:21:29 -08:00
Justin Black
1f7eebd52d
Fixes openapi-generator.tech content, python-exp documentation helpTxt updated ( #11273 )
...
* Fixes python-exp line breaks
* Docs updated
2022-01-10 20:11:57 -08:00
Anakael
f06e7c52f4
Add only one auth header ( #11272 )
2022-01-11 12:09:33 +08:00
joaocmendes
b05faefb93
[BUG][csharp-netcore] Fix Multi Files for the same FormField ( #11132 ) ( #11259 )
...
* [BUG][csharp-netcore] Fix Multi Files for the some FormField (#11132 )
Make FileParamerts a Multimap to enable sending more than one file with the same key.
* update documentation for csharp-netcore
2022-01-11 11:02:39 +08:00
Justin Black
de036e211e
Improves generator docs: stability + language version added ( #11270 )
...
* Adds generatorLanguageVersion and uses it in python generators
* Regenerates docs
* Adds stability to generator docs
* Triple braces generatorLanguageVersion
* Regenerates samples
* Fixes the python-experimental setup.py file so it works with generatorLanguageVersion
* Updates generators readme
2022-01-10 18:16:53 -08:00
Justin Black
0eca629127
Adds generatorLanguage to all generators ( #11268 )
...
* Adds generatorLanguage to all generators
* Adds all generator languages and info to docs
* Docs updated
2022-01-10 12:13:35 -08:00
Justin Black
dd3bba8c94
Has generators set default template engine ( #11245 )
...
* Adds default template engine to generators
* Fixes sample batch generation
2022-01-10 08:59:20 -08:00
Sorin Florea
a4325ec520
ISSUE-11242: Fix Java native path param encoding ( #11257 )
2022-01-10 21:23:28 +08:00
Justin Black
d813d04f46
Improves generator docs, adds metadata section ( #11262 )
...
* Refactors generator md creation, adds generateMdMetadata
* Removes extra space
* Adds docs updates
* Fixes table definition for metadata
* Docs update
* Docs update
* Updates title, removes sidebar_label because it was not doing anything on pages like https://openapi-generator.tech/docs/generators/android
* Docs updated
2022-01-09 14:10:47 -08:00
carmenquan
478219744e
Making PyPi markdown friendly requires additional property ( #11093 )
...
* updating python markdown property
* adding to samples
2022-01-09 08:22:11 -08:00
Matthew
e7ca67071e
[python] Fix 10773 - Use base_name for file uploads in form data ( #11182 )
...
* Use base_name for file uploads in form data
* Added missed sample changes
2022-01-09 08:19:57 -08:00
Akira MATSUDA
febf49662a
Make moduleObject.mustache confirms to JSONEncodable. ( #11202 )
...
* Make moduleObject.mustache confirms to JSONEncodable.
* Regenerate samples
* Don't confirm JSONEncodable when using Vapor.
* Use CodableHelper.jsonEncoder
* Encode `Data` using `encodeToJSON()`
* Update sample
* Don't extend JSONEncodable when using Vapor.
* Add JSONEncodable in moduleEnum, moduleInlineEnumDeclaration, and modelOneOf
* Update sample
* Remove line break.
* Update sample
* Revert "Update sample"
This reverts commit 6ec206b506a5402a225184bd8e80f5e654f426f8.
* Don't confirm JSONEncodable when enum confirms RawRepresentable.
* Update sample
* Add space before {
* Update sample
* Don't confirm JSONEncodable when enum confirms RawRepresentable.
2022-01-09 23:47:03 +08:00
Justin Black
1343024786
Adds fix for broken python test ( #11247 )
...
* Adds fix for broken python test
* Removes space
* Fixes another test too
2022-01-06 17:45:49 -08:00
Andreas Allacher
ef882a4e6c
Issue 11152: Allow guzzlehttp/psr7 ^1.7 or ^2.0 ( #11240 )
2022-01-07 09:07:09 +08:00
jiangyuan
e1902257b3
[Python] add '_spec_property_naming' param ( #11226 )
...
* add '_spec_property_naming' param
* add '_spec_property_naming' comment
Co-authored-by: jiangyuan04 <jiangyuan04@baidu.com>
2022-01-05 14:26:10 -08:00
Justin Black
88f3db3a6e
Adds spacether sponsorship link and python-experimental item ( #11237 )
2022-01-05 13:05:18 -08:00
Justin Black
3243279b4d
Adds python-experimental with dynamic base classes ( #8325 )
2022-01-05 12:30:49 -08:00
Aliaksei Zhuk
9c3d4ef2a6
Parse integer array query parameters. Fix typos ( #11105 )
2022-01-04 17:55:18 +08:00
S2021Git
361b593da2
Not creating "Accept:null" header for Java-Jersey2 generator ( #11084 )
...
* updated ApiClient.mustache for jersey2
* updated samples
* corrected indentation
* updated samples
2022-01-04 16:41:24 +08:00
William Cheng
98a28a075a
update cpp qt5 server samples
2022-01-04 15:21:15 +08:00
Ilario
74f39b442e
Bugfix of #11176 and related #10706 CPP-QT-QHTTPENGINE Server ( #11177 )
...
* Fix extra m that prevents qt cpp server to build (#11176 )
* Fix regular expression to capture IDs on path (#11176 )
* Fix build issue missing QHttpEngine namespace (#10706 )
2022-01-04 15:14:11 +08:00
Ignacio Campos Rivera
8c090c978d
feat(python-asyncio): add support for proxy config using system env vars ( #11171 )
...
Co-authored-by: Ignacio Campos <ignacio.campos@global.ntt>
2022-01-04 15:08:03 +08:00
William Cheng
35a2fa6afc
move avro-schema.yaml to bin/configs
2022-01-04 15:01:28 +08:00
Mostafa Aghajani
a3b90183aa
Fix musache template to use "{{package}}.{{dataType}}" on all non primitive types ( #11201 )
2022-01-04 14:47:42 +08:00
Sergey Nikolaev
f1b9676f7e
update in readme: Manticore Search uses the generator too ( #11223 )
2022-01-04 14:37:06 +08:00
Yohei Kitamura
5a616757e7
Fix examples for request body with array to not raise java.lang.NullPointerException ( #11170 )
2022-01-04 14:36:28 +08:00
Yuriy Belenko
0a09f1faa3
[php][bug] Fix DateTime microseconds bug in ObjectSerializer ( #11213 )
...
* fixing precision for php
* remove a bracket
* handling whitespace
* format comment
* Use regexp to trim needless microseconds
That way we can save timezone suffix.
Co-authored-by: Carmen Quan <cquan@launchdarkly.com>
2022-01-04 13:41:22 +08:00
William Cheng
9f899c5e6d
minor bug fixes in ts fetch generator ( #11215 )
2022-01-04 13:39:57 +08:00
William Cheng
161de2cfdf
update samples
2022-01-03 18:05:08 +08:00
William Cheng
d17a472b89
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-03 18:03:00 +08:00
William Cheng
15b228c3ca
fix import mapping for JsonValue ( #11216 )
2022-01-03 17:05:38 +08:00
sullis
6397421399
[scala-gatling] add ScalaGatlingCodegenTest ( #11212 )
2022-01-03 11:56:58 +08:00