vnq
74e5c3ccd3
[php-symfony] remove nested Valid constraint ( #8994 )
...
* Fix constraint Valid cannot be nested
* Update PetController.php
* Update UserController.php
2021-03-24 13:30:42 +08:00
Blackclaws
b69fb79573
[csharp][aspnetcore] Enable Consumes Tag for Specs where not every operation consumes ( #9039 )
...
* Change break to consumes so that all operations will be processed
* Update Samples
2021-03-24 12:30:23 +08:00
Blackclaws
46a7d972b9
[csharp][aspnetcore] Fix FileUpload Parameter Generation for aspnetcore ( #9000 )
...
* Aspnetcore fix file parameters
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1183#issuecomment-612022568
* Update Samples
* Add Consumes to Controller. Needed for correct swashbuckle
* Add bodyParam annotation again
* Add InputFormatterStream
* Selective Use of IFormFIle
* Update samples
* Add missing List
* Fix duplicate consumes
* Update samples
* Remove executable bit
* Add missing files
* Add Comments
2021-03-22 12:35:45 +08:00
William Cheng
95d356ab6b
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-21 01:10:46 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
Blackclaws
061b00e990
[csharp][aspnetcore] Update aspnetcore nuspec and csproj with authors and description ( #8995 )
...
* Update aspnetcore nuspec and csproj with authors and description
* Removed unneccesary include
2021-03-19 21:25:32 +08:00
Justin Black
a925c76561
Adds hasRequired to all Java schema classes ( #8962 )
...
* Adds getHasRequiredVars + setHasRequiredVars to IJsonSchemaValidationProperties
* CHanges to getHasRequired and setHasRequired and implements in CodegenModel
* Updates CodegenProperty
* Updates codegenparameter
* Updates codegenresponse
* Uses setHasRequired in model/prop/parameter/response
* Adds issue spec 8906
* Adds testHasRequiredInModel
* Adds testHasRequiredInProperties
* Fixes issue spec errors
* Adds sample endpoint with schemas in patch parameter
* Adds testHasRequiredInParameters
* Adds response schemas in issue spec
* Samples and docs regenerated
2021-03-18 20:42:42 -07:00
William Cheng
95c775b694
update samples
2021-03-18 08:59:33 +08:00
Ajith Kumar
9ea852d4df
[JAVA] [Spring] Conditionally importing spring pageable ( #8915 )
...
* [JAVA][SPRING] Making spring pageable import optional
* [JAVA][SPRING] Regenerating samples
* [JAVA][SPRING] Regenerating samples again
2021-03-18 00:03:31 +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
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
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +08:00
Blackclaws
e16ee8c6b8
Add version to csproj, fix target framework, update samples ( #8956 )
2021-03-12 10:34:06 +08:00
morphlne
38ef0e1f3a
[JaxRS] Fix ambiguous dependency ( #8922 ) ( #8923 )
2021-03-10 17:03:30 +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
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
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
ddc38b27bb
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-05 00:06:38 +08:00
Oleh Kurpiak
976b4aa757
[Java] Additional enum type annotations ( #8389 )
...
* [Java] Additional enum type annotations
* [Java] Additional enum type annotations
2021-03-04 23:33:00 +08:00
William Cheng
2b3b5a71cf
update samples
2021-03-03 16:29:52 +08:00
William Cheng
d96197bcbd
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-03 16:19:20 +08:00
William Cheng
07f8bde6c1
Test go-gin-server sample with go test -v
( #8855 )
...
* test go gin sample with `go test -v`
* install via go get
* update main.mustache
2021-03-02 11:07:25 +08:00
William Cheng
2c0991dabe
better test for go-server ( #8852 )
2021-02-27 18:21:28 +08:00
Yannick Schutz
85b2b3c2e4
Add mime/multipart missing import in go server ( #8790 )
2021-02-27 14:50:16 +08:00
Blackclaws
f8770d7c33
C# Aspnetcore Generator. Fix Parameters missing (Name = ) Property ( #8826 )
...
* Fix parameter Name= missing.
* Update samples
* Fix wrong name in template
* Update samples again
2021-02-25 23:36:35 +08:00
William Cheng
df1ae03960
[Refactor] create Python abstract class ( #8817 )
...
* create python abstract base class
* refactor AbstractPythonConnexionServerCodegen
* update doc
2021-02-25 14:10:49 +08:00
Francesco Guardiani
4bf09833f4
[Java][Vert.x] Make ApiHandler reusable ( #8720 )
...
* Fix #8710
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Reintroduced default constructor
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Deprecated
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
2021-02-23 15:38:57 +08:00
agilob
e7f50f66a3
Make all loggers non-static ( #8799 )
...
* Make all loggers non-static
Reduces memory usage on startup by between 2 and 4 MB
* Fix compile error in some autogenerated? module
2021-02-23 14:46:56 +08:00
William Cheng
00c7ebab66
use Files.createTempFile ( #8791 )
2021-02-23 11:33:10 +08:00
William Cheng
764a3b044c
replace tab with spaces, minor code format change ( #8774 )
2021-02-22 19:46:11 +08:00
James Gilliland
f3c164d1ad
[PHP] Use a valid php type for maps ( #8718 )
...
* Use a valid php type for maps
* Convert type hint to correct format
Align map array format to that expected by phpdoc and associated tools.
2021-02-21 18:07:45 +08:00
William Cheng
ea428d6048
update jackson dependencies to address security issues ( #8778 )
2021-02-21 11:40:24 +08:00
William Cheng
095019a6d8
replace tabs with 4-space ( #8757 )
2021-02-19 23:06:20 +08:00
William Cheng
55292dd22b
Add ASP.NET Core 5.0 support ( #8717 )
...
* add aspnet core 5.0 support
* skip overwriting Org.OpenAPITools.csproj
* update doc
* update doc
2021-02-17 18:58:13 +08:00
William Cheng
859a066052
add sponsorship message for jim's work ( #8650 )
2021-02-14 10:43:31 +08:00
William Cheng
6ff5fe4495
update samples
2021-02-12 20:21:39 +08:00
William Cheng
b4f4d7434b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-02-12 18:48:20 +08:00
miyucy
3c4b1a0c4c
Fix syntax error ( #8675 )
...
Added missing closing brace in list_invalid_properties model method.
2021-02-11 23:43:19 +08:00
William Cheng
3e81876e2c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-06 17:52:32 +08:00
William Cheng
c7fcb39a2d
Prepare v5.0.1 release ( #8627 )
...
* release 5.0.1
* update samples
2021-02-06 16:37:22 +08:00
William Cheng
e6cee8eb71
Mark java-vertx as deprecated ( #8609 )
...
* mark java-vert as deprecated
* update, clean up samples
* remove entrites related to java-vertx
2021-02-04 16:36:55 +08:00
Bruno Coelho
45fc02350b
[kotlin] fix Date types usages ( #8594 )
...
* [kotlin] fix Date types usages
2021-02-02 20:55:51 -05:00
William Cheng
0fdb003e57
update samples
2021-02-02 22:16:35 +08:00
William Cheng
2c457a458e
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-02-02 21:43:53 +08:00
William Cheng
ca225e4827
update samples
2021-02-02 21:15:02 +08:00
William Cheng
5b99d8724c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-02 21:04:15 +08:00