Sondre Eikanger Kvalø
4bfe13767f
[Kotlin] Upgrade jackson version used in the Kotlin client ( #8689 )
...
* Upgrade jackson version used in the Kotlin client #8688
* Generated project
* Remove spaces before import
* Add generated sample from previous commit
2021-03-17 12:18:52 +08:00
agilob
8a11a1aa74
[dart] Split mustache file by serialization ( #8958 )
...
* Split mustache file by serialization
* Move specific serialization files to own directories
* Deduplicate constructor in dart client generator
2021-03-17 11:41:25 +08:00
Hui Yu
f8842b04bb
[C-libcurl] Generate API and module documents automatically ( #8981 )
2021-03-16 13:37:25 +08:00
Thomas Hervé
a1392305f1
Skip examples on complex body in Java ( #8887 )
...
* Skip examples on complex body in Java
This removes complex examples in Java which would not result in valid
code.
* Warn example being skip
2021-03-16 10:09:03 +08:00
sunn
fcab51322e
[C++][Qt]Replace usage of QVariant with a more intuitive optional wrapper ( #8960 )
...
* Replace usage of QVariant with a more intuitive wrapper which also supports non standard types/classes
* Fix crash due to usage of object instead of reference
2021-03-15 18:56:20 +01:00
William Cheng
9d8494a89d
update samples
2021-03-15 22:55:36 +08:00
David Gerber
c0187f2c31
fix: remove double URL encoding ( #8660 )
...
DefaultWebClient() already encodes URL query parameters.
2021-03-15 22:48:43 +08:00
Oleh Kurpiak
cfe86d9594
[Java][Server] fix default value ( #8577 )
...
* [Java][Server] fix default value
* [Java][Server] fix default value
2021-03-15 21:25:48 +08:00
Markus Wandersee
fae4d7a73d
Fix for StackOverflow in Swift5 CodeGeneration Issue #8671 ( #8672 )
...
* StackOverflowFix for Issue 8671
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-03-15 17:59:09 +08:00
William Cheng
bf859c640e
Better error handling for toExampleValue ( #8940 )
...
* better error handling for toExampleValue
* revise logging
* update debug
2021-03-15 17:54:15 +08:00
William Cheng
5d7f1c1c88
[android][volley] various improvements ( #8968 )
...
* fix samples
* build succcessful in android studio
* fix deprecatation warnings
* update dependencies
* add new file
2021-03-15 17:53:33 +08:00
Adam Leventhal
15c3bf47a4
[Rust Client] several small fixes to code generation errors ( #8845 )
...
* fix cyclic types
* fixed up bad enum names
* fixed double crate:: issue
* add required ToString for enum classes
* Adds Debug/Clone derive macro for generated configuration type
* Updates versions of dependencies recorded in generated Cargo.toml
* fix merge
* bin/generate-samples.sh
Co-authored-by: Benjamin Naecker <bnaecker@fastmail.com>
2021-03-15 10:30:22 +08:00
Rüdiger Keller
a8c56fb26a
[jaxrs-cxf][jaxrs-spec] Add missing @NotNull annotation for required body parameters when using BeanValidation, fixes #4280 ( #6494 )
...
* [jaxrs-spec] Add missing @NotNull annotation for required body parameters when using BeanValidation.
* [jaxrs-cxf] Add missing @NotNull annotation for required body parameters when using BeanValidation (#4280 ).
* [jaxrs-cxf] Add @NotNull annotation only for body parameters that are required and not nullable.
* [jaxrs-spec] Add @NotNull annotation only for body parameters that are required and not nullable.
* [jaxrs-cxf] Updated sample files after adding missing @NotNull annotation for required body parameters when using BeanValidation.
* [jaxrs-spec] Updated sample files after adding missing @NotNull annotation for required body parameters when using BeanValidation.
2021-03-15 09:47:29 +08:00
William Cheng
abe64b7976
fix deprecation warnings ( #8969 )
2021-03-15 09:45:17 +08:00
Backfighter
ad603f44fb
[Java][webclient] Fix deprecation warning: BodyInserters.fromObject ( #8963 )
...
* Fix deprecation warning: BodyInserters.fromObject
See for more information #8553
* [Java][webclient] Upgrade to spring 5.2.13
2021-03-14 00:12:48 +08:00
William Cheng
ad137ec84a
update samples
2021-03-13 23:38:17 +08:00
William Cheng
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +08:00
William Cheng
4e2ece4b51
[Perl] minor improvements ( #8967 )
...
* update perl readme, test files
* update perl test files
* update readme
2021-03-13 21:48:00 +08:00
SimeonGerginov
030cabc1cc
[REQ][PowerShell] Add additional reserved words list for parameter name in PowerShell ( #8935 )
...
* Add additional reserved words list for parameter name in PowerShell
Signed-off-by: SimeonGerginov <simeongerginov1@gmail.com>
* Add missing check for parameter name starting with number
Signed-off-by: SimeonGerginov <simeongerginov1@gmail.com>
2021-03-12 12:35:51 +08:00
Blackclaws
e16ee8c6b8
Add version to csproj, fix target framework, update samples ( #8956 )
2021-03-12 10:34:06 +08:00
William Cheng
ff55bf11e2
Add messages about powershell ebook after generating a PowerShell client ( #8951 )
...
* add message about powershell ebook
* change spacing
2021-03-12 10:02:57 +08:00
Tobias Larscheid
604e141bf6
Do not generate Application.kt when interfaceOnly=true ( #8938 )
...
In an effort to make `kotlin-spring` behave the same as `spring` (java), I disabled generation of the `Application.kt` when interfaceOnly=true. This is similar to what `spring` does: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java#L368
2021-03-12 00:15:34 +08:00
William Cheng
ed6a7e7656
better code format in C# netcore client ( #8939 )
2021-03-11 21:59:48 +08:00
agilob
b782cff511
[dart] Fix api client deserialization for json_serializable ( #8882 )
...
* Fix api-client deserialization for json_serializable
* Use raw string for url path
* Use Set/List.of
* Use returnTypeIsPrimitive in template
* Regenerate all templates
* Fix casting map to Iterable of things
* Add json_serializable to maven modules
* Run build_runner before pub run test
* Return future of type for strong linter mode
2021-03-11 21:16:54 +08:00
Ragul Murugesan
f7a6b7f2d3
Arrow function removed ( #8433 )
...
* Arrow function removed
* update samples
Co-authored-by: Ragul Murugesan <y509198@softwareag.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-03-11 08:55:35 +01:00
Peter Leibiger
bf35ceee25
[dart][dart-dio] Lower upper bound for built_value ( #8947 )
...
The `8.x` versions are no longer compatible with the current generated code. An update is also not possible without breaking change and null-safety support.
2021-03-11 12:10:58 +08:00
Thomas Hervé
2f047fe64a
Fix python example list ( #8877 )
...
* Fix python example list
Closing char was missing.
* Add sample, and fix generation for sample not to show up
* Add test of example generation
2021-03-10 08:27:48 -08:00
morphlne
38ef0e1f3a
[JaxRS] Fix ambiguous dependency ( #8922 ) ( #8923 )
2021-03-10 17:03:30 +08:00
William Cheng
f56dd9f59b
remove deprecated restsharp parameter class ( #8933 )
2021-03-10 14:51:23 +08:00
William Cheng
952483abde
add plaid logo ( #8932 )
2021-03-10 14:50:15 +08:00
Justin Black
786c71f339
Adds hasVars ( #8928 )
...
* Adds getHasVars and setHasVars to IJsonSchemaValidationProperties
* Updates CodegenModel
* Updates CodegenProperty
* Updates codegenparameter
* Updates codegenresponse
* Adds testHasVarsInModel
* Adds testHasVarsInProperty
* Updates testHasVarsInProperty
* Adds testHasVarsInParameter
* Adds testHasVarsInResponse
* Samples update
2021-03-09 12:14:02 -08:00
Mehmet YUCE
86e418d57b
Fix not processing enums in cpp-pistache-server ( #8886 )
...
* Fix not processing enums in cpp-pistache-server
Defining a reusable enum as a component schema results in an empty
class. Following changes are made:
- activate 'postProcessModelsEnum' in 'AbstractCppCodegen'
- modify model templates for the 'cpp-pistache-server' project
As 'postProcessModelsEnum' is now available in the 'AbstactCppCodegen'
the 'enumVars' variables are now available in mustache templates for all
cpp based code generators.
As the 'AbstractCppCodegen' was touched all cpp based
samples were updated.
* fixes encountered on real world
* PR fixes
Co-authored-by: mfyuce <mfyuce@netas.com.tr>
2021-03-09 15:17:25 +08:00
William Cheng
065c524894
[C#][netcore] Fix deserialisation for models with additional properties ( #8912 )
...
* better check for additioanl properties serializer
* fix additional properties check
* use additonal prop serializer with model mappings
2021-03-09 15:15:33 +08:00
mentalfoundry
8110884aac
Update usage.md ( #8917 )
...
The command examples are out of date. The 'openapi-generator' command is now 'openapi-generator-cli'.
2021-03-09 15:14:57 +08:00
William Cheng
1ba323f058
Add tests for array of string serialization ( #8913 )
...
* add tests for array of string serialization
* update test file SHA
2021-03-09 08:53:05 +08:00
Chase Farmer
881553a484
Add Plaid to companies using the generator. ( #8930 )
2021-03-09 08:52:50 +08:00
Justin Black
8226269101
Fixes legacyDiscriminatorBehavior description ( #8931 )
...
* Fixes description
* Samples and docs updated
2021-03-08 13:39:12 -08:00
Tyler Ballast
f5151de9fc
Add whitespace to SDK documentation where necessary ( #8919 )
...
* Add a space between table title and the line above it to resolve issues when translating markdown to asciidoc
* Regenerate Samples
Co-authored-by: Tyler Ballast <tyler.ballast@reportix.com>
Co-authored-by: tballast <tyler.ballast@gmail.com>
2021-03-08 21:40:54 +08:00
William Cheng
bce0eb6c8f
fix header parameter naming ( #8861 )
2021-03-08 21:35:04 +08:00
William Cheng
7720c9f6bd
update samples
2021-03-08 19:05:16 +08:00
Jiri Kuncar
8cb4741248
[go][client] Fix example value for non string enums ( #8900 )
...
* [go][client] Fix example value for non string enums
* regenerated samples
2021-03-08 18:11:50 +08:00
Justin Black
101da6e434
Adds getAdditionalPropertiesIsAnyType to java schema classes ( #8908 )
...
* Adds getter and setter for AdditionalPropertiesIsAnyType in IJsonSchemaValidationProperties
* Removes venv
* Implements getter and setter in CodegenModel
* Implements getter and setter in CodegenProperty
* Implements getter and setter in CodegenParameter
* Adds getter and setter in CodegenResponse
* Creates setAddProps
* Removes comment
* Adds setAdditionalPropertiesIsAnyType invocations
* Updates samples
* Updates tests in testAdditionalPropertiesPresentInResponses
* Updates tests in testAdditionalPropertiesPresentInParameters
* Updates testAdditionalPropertiesPresentInModelProperties to check getAdditionalPropertiesIsAnyType
* Updates testAdditionalPropertiesPresentInModels
2021-03-07 09:42:47 -08:00
William Cheng
51a19e1c27
[C#][netcore] Call static method without creating instance ( #8889 )
...
* call static method without creating instance
* fix instance
* fix missing equal sign
* skip instance creation
* cast to T
* update httpclient apiclient.mustache
2021-03-07 17:45:14 +08:00
Internaional Network Support & Service - Glas
041d908963
Changed virtualan version from 1.0.0 to 2.1.7. Update readme.md and d… ( #8910 )
...
* Changed virtualan version from 1.0.0 to 2.1.7. Update readme.md and description in springboot generator.
* Updated virtualan link in spring.md.
* update samples
Co-authored-by: networkinss <oliver.glas@inss.ch>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-03-07 09:38:31 +08:00
William Cheng
8509f6b25a
remove javascript-promise-es6/test/model/ModelReturn.spec.js
2021-03-06 22:51:19 +08:00
William Cheng
d279b79d2d
remove modelreturn.js spec
2021-03-06 21:53:43 +08:00
William Cheng
4ab17cfd96
Merge branch 'master' of https://github.com/openapitools/openapi-generator
2021-03-06 21:01:52 +08:00
William Cheng
e617f7c166
remove unused js test spec
2021-03-06 21:01:35 +08:00
Ethan Keller
d25df488bd
Fix String cast error on default object ( #8903 )
...
See #8896 .
2021-03-06 20:50:25 +08:00
William Cheng
bb6a858c32
update samples
2021-03-06 19:02:40 +08:00