William Cheng
0c3460f95b
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-05-10 15:00:56 +08:00
Rodrigo de Almeida - RMA3
9b2917f3a9
Fix issue 12341 ( #15234 )
...
* if method return type is void then no return
* build the project
* fix build the project
* fix build the project
* fix return
* fix build the project
* fix build the project
* fix build the project
---------
Co-authored-by: Rodrigo Maciel de Almeida <rodrigo.almeida@wefin.com.br>
2023-04-18 23:56:12 +03:00
William Cheng
5832731c0e
[java] Update undertow to newer version ( #15222 )
...
* update undertow to newer version
* fix
2023-04-15 14:56:48 +08:00
William Cheng
935146d187
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-04-12 17:51:47 +08:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT ( #15100 )
...
* set 6.6.0 snapshot version
* update samples
* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release ( #15099 )
...
* 6.5.0 release
* update samples
2023-04-01 15:03:35 +08:00
William Cheng
9fa032b365
add isOverridden, update java pojo with setter for parent prop ( #15051 )
2023-03-29 10:57:49 +08:00
William Cheng
3d4f7b3ce0
[java] fix optional array property's default value ( #14961 )
...
* fix optional array property default value
* fix default values
* more fixes
* update default value for jersey2, 3, okhttp-gson
* update default value
* fix java okhttp-gson
* fix jersey2, 3
2023-03-17 11:58:49 +08:00
William Cheng
dbc6c82446
minor fix to isPassword ( #14942 )
2023-03-13 23:37:40 +08:00
William Cheng
1beec7ef87
Merge remote-tracking branch 'origin' into 7.0.x
2023-03-03 21:52:50 +08:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
devhl-labs
8abc750c0e
[csharp-netcore] Added isNew property to CodegenProperty ( #14412 )
...
* added isNew property to CodegenModel
* build all samples
2023-01-13 14:43:33 +08:00
William Cheng
fabd0a8be2
update jackson databind to newer versions ( #14136 )
2022-11-29 10:55:03 +08:00
William Cheng
ca5d9b5e69
Add isEnumRef, isEnumOrRef to CodegenProperty ( #13880 )
...
* add isEnumRef to codegen property
* better format
* update R template to use isEnumOrRef
* update powershell template to use isEnumOrRef
* update samples
2022-11-08 11:16:16 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
558ae9373d
Merge remote-tracking branch 'origin/master' into 7.0.x
2022-11-01 21:01:06 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
Thibault Duperron
1b65ef38f5
Update dependecies for CVE ( #13834 )
...
* Update dependecies for CVE
fix #13772
* Fix schemas
2022-10-31 10:55:11 +08:00
William Cheng
2bac0a8d99
Merge remote-tracking branch 'origin/6.3.x' into 7.0.x
2022-10-16 21:27:53 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
William Cheng
4ee0cfa1ad
Update jackson dependencies to newer version ( #13634 )
...
* update jackson databind dep
* update java native dep to newer version
* fix build issue due to cached config. add dummy pom
2022-10-07 23:04:27 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Justin Black
7e87b5d109
Adds contains ( #13449 )
...
* Adds contains getter and setter
* Updates codegenProperty
* Updates codegenModel
* Updates codegenparameter
* Updates codegenResponse
* Samples regenerated
2022-09-16 13:36:17 -07:00
Justin Black
03cf55085c
Adds dependentRequired ( #13442 )
...
* Updates codegenmodel
* Updates codegenProperty
* Updates codegenParameter
* Updates codegenResponse
* Samples regenerated
2022-09-15 22:12:49 -07:00
Justin Black
c59759f20a
Adds IJsonSchemaValidationProperties format getter and setter +uses the format info ( #13360 )
...
* Adds format getter and setter
* Updates codegenProperty
* Updates codegenModel
* Updates codegenParameter + Response
* Sets format and removes unused import code in python-experimental
* Samples regenerated
* Samples regenerated
* Adds AnyTypeAndFormat
* Separates format bases out from their str or number bases
* Docs updated
* Updates python-exp, stops setting isDate and uses format instead
* Removes python-experimental isDate usages
* Fixes password usages
* Turns off isDateTime in python-experimental java layer
* Sample regnerated without isDateTime
* Removes isUuid
* Turns off isDecimal, decimal_payload broken
* Removes isDecimal
* Removes isByteArray
* Removes isBinary python-exp usages
* Removes isFloat isDouble setting from python-experimental
* Removes isDouble isFloat usages in sample
* Stops setting isShort and isLong in python-exp java layer
* Removes isShort isLong usages from python-exp and generates sample
* Adds decimal as integer input
* Adds missing bool type
* Adds validations to format mixins, adds test_uuid
* Adds test_date
* Adds test_date_time
* Adds test_number
* Adds test_int32
* Adds test_int64
* Adds test_double
* Adds test_float
* Samples updated
* Fixes javadoc
2022-09-11 09:17:16 -07:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
Justin Black
5251a1b739
Adds isBooleanSchemaTrue/False getters and setters ( #13341 )
...
* Adds getters and setters for boolean schema true and false
* Updates CodegenModel
* Updates codegenProperty
* Updates codegenparameter and codegenresponse
* Adds comments describing the new properties
* Updates additionalProperty setting for python-experimental
* Sample regenerated
* Docs updated
* Do not write additionalProperties when they are unset
* Updates criteria for when DictSchema subcalsses are created
* Adds NotAnyTypeSchema when a schema is False
* Updates new kwargs signature
* Updates get_item type hints
* Updates sample, readme updated
* Simplifies method calls
* Adds get_item_oapg, removes unset from get_item and getattr
* Sample regenrated
* Fixes tests
* Raises AttributeError if a property is not required and it is dotname accessed
* Fixes one test
* Fixes 3 tests
* Fixes test
* Fixes two more tests
* Fixes test
* Fixes two tests
* Fixes two tests
* Tests fixed
* Unit test sample regerated, fixed unset addprops required type hint issue
* Migration guide updated
* Samples regenerated
2022-09-04 11:40:15 -07:00
Justin Black
d97081e7dc
[python-experimental] improves type hints for arrays, and object required properties ( #13299 )
...
* Regenerates sample with additional enum values
* Sample regenerated, array type hints working
* Unit test sample regenerated
* Removes unneeded __getattribute__
* Sample regenerated using getRequiredVarsMap for property type hints
* Adds schemaFromAdditionalProperties to tell if a CodegenProperty is from properties or additionalProperties
* Adds get/setSchemaIsFromAdditionalProperties
* Updates codegenModel
* Updates codegenParameter
* Updates codegenResponse
* Uses setSchemaIsFromAdditionalProperties
* Fixes array new typ ehint and additional property type hints
* Samples regenerated
* Adds missing parms to javadoc
* Fixes param name
* Adds missing param to javadoc
2022-08-28 21:18:18 -07:00
Justin Black
3f2b167360
[python-experimental] creates + uses MetaOapg cls to store non-properties schema keywords ( #13256 )
...
* Uses MetaOapg
* Fixes some tests
* Fixes tests
* Removes pass
* Generates unit test sample
* Samples regenerates
* Reverts version files
* Changes uniqueItems to Boolean type
* Samples regenerated
* Fixes code in addImportsForPropertyType
* Fixes codegenModel and codegenProperty
* Fixes CodegenParameter
* Adds getUniqueItemsBoolean/setUniqueItemsBoolean
* Updates template to use getUniqueItemsBoolean
* Adds printing of uniqueItemsBoolean in codegenModel
* Samples regenerated
2022-08-23 17:26:43 -07:00
William Cheng
e0c72702c3
update undertow to newer version ( #13238 )
2022-08-20 22:10:31 +08:00
Justin Black
8cd0d38446
Adds $ref data to schema classes ( #13163 )
...
* Adds getRef/setRef
* Adds ref to CodegenModel
* Adds ref to CodegenProperty
* Adds ref to CodegenParameter
* Adds ref to CodegenResponse
* Sets ref on CodegenModel and CodegenProperty
* Samples regenerated
2022-08-11 12:57:00 -07:00
Justin Black
9610a81a13
Adds requiredVarsMap ( #13117 )
...
* Adds requiredVarsMap
* Fixes imports
* Adds requiredVarsMap to CodegenParameter
* Updates CodegenResponse
* Adds feature to codegenModel
* Fixes codegenProperty
* Switches to getRequiredVarsMap
* Uses curly braces for set definition
* Added blocked examples back n to test spec now that the required bug is fixed
* Sample regenerated
* Handles escaping required property names
* Fixes CI tests
* Samples regenerated
* Samples regnerated
* Fixes test
2022-08-08 09:47:43 -07:00
William Cheng
a87da6ad3c
update undertow to newer version ( #12994 )
2022-07-23 14:07:15 +08:00
devhl-labs
92193f7159
Adds isInnerEnum to CodegenProperty ( #12860 )
...
* added nonNullableVars
* added return property to operation
* added return property to operation
* build samples
* added inner enum
* build samples
* added a comment
2022-07-20 01:41:17 +08:00
William Cheng
c54b0623b8
prepare 7.0.x
2022-05-26 13:17:52 +08:00
William Cheng
5bd94b8fa0
prepare 6.1.x
2022-05-26 12:58:25 +08:00
William Cheng
36a9cf394d
update samples ( #12466 )
2022-05-26 12:13:59 +08:00
William Cheng
69f79fb789
Prepare 6.0.0 release ( #12463 )
...
* prepare 6.0.0 release
* update samples
* update meta codegen
2022-05-26 10:28:01 +08:00
William Cheng
ad3b5f7045
[Inline model resolver] various improvements ( #12293 )
...
* better handling of requestbody in the inline resolver
* remove commented code
* better request body naming
* fix unique naming
* minor code format change
* removed additional underscore from names, fix test
* more fixes, update tests
* fix all tests
* undo changes to default codegen
* update samples
* update python tests
* add new files
* update samples
2022-05-10 17:13:57 +08:00
William Cheng
2d4a01aa70
Revert "Prepare 6.0.0 beta release ( #12039 )"
...
This reverts commit 914b539eea7097ad2b4323d20c8f95144782cb68.
2022-04-04 12:17:12 +08:00
William Cheng
914b539eea
Prepare 6.0.0 beta release ( #12039 )
...
* update to 6.0.0-beta
* update samples
2022-04-04 10:29:49 +08:00
William Cheng
5d8b80a5cd
[Java] rename x-contentType to x-content-type ( #11895 )
...
* rename x-contentType to x-content-type
* undo changes
2022-03-18 09:50:42 +08:00
Noah Fontes
6f37409d2b
Fix nullable models embedded in allOf ( #11804 )
...
It is possible, though contrived, for a property to have both isAnyType
and isModel set. In this case, when the outer type is nullable, the Go
template expects a Nullable* type to be provided by the generator, but
it is skipped over instead. This change aligns the generator with the
template's expectations.
2022-03-10 16:31:44 +08:00
sullis
f1d0724f2a
[java] junit 4.13.2 ( #11733 )
2022-02-27 13:18:19 +08:00