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
William Cheng
8455c1cd23
Remove the option to support JDK7 from Java generator and templates ( #11547 )
...
* remove java8 from java client generator and templates
* update tests
* remove threetenbp
* update spring templates to remove java8
* remove java8 from jaxrs template
* fix jaxrs spec
* fix feign
* remove CustomInstantDeserializer.java
* fix jersey1
* fix undertow
* various update
* fix jaxrs jersey1
* fix java inflector
* fix jaxrs cxf
* add new files
* update doc
2022-02-10 10:35:29 +08:00
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
William Cheng
2ebadc36f7
update undertow dependencies ( #11411 )
2022-01-26 14:54:32 +08:00
Justin Black
ac55ac9d55
Samples and docs regenerated ( #11194 )
2021-12-28 11:39:13 -08:00
William Cheng
6269a9810c
Prepare 5.3.1 release ( #11161 )
...
* prepare v5.3.1 release
* update samples
2021-12-21 18:20:13 +08:00
WILLIAM CHENG
4f2b5ee36d
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
2021-11-01 00:54:44 +08:00
WILLIAM CHENG
ab603a7322
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-11-01 00:49:06 +08:00
Justin Black
d1b61bdc04
adds get/setHasMultipleTypes to Java schema classes ( #10715 )
...
* Adds getter and setter for hasMultipleTypes and implements it in CodegenModel
* Adds getter and setter to CodegenProperty
* Updates CodegenParameter
* Updates CodegenResponse
* Samples regenerated
2021-10-27 14:16:53 -07:00
Justin Black
3a667784ac
Adds ComposedSchema to store schema composed schemas ( #10653 )
...
* Adds ComposedSchema and the ability to set it in CodegenModel and CodegenProperty
* Adds ComposedSchemas class and adds getters and setters for it in schema implementors
* Adds and uses getComposedSchemas
* Makes method private
* Uses setComposedSchemas for CodegenParameter and CodegenResponse
* Samples regeneratoed, tweaked string representation
* Removes null default
* Removes anyOfProps, oneOfProps, allOfProps
* Removes unneeded line
2021-10-26 12:49:32 -07:00
WILLIAM CHENG
42f4e863b7
prepare 5.4.0-SNAPSHOT
2021-10-25 12:13:33 +08:00
William Cheng
378465702c
Prepare v5.3.1 in the master ( #10681 )
...
* prepare v5.3.1
* update doc
* update readme
2021-10-25 01:16:07 +08:00
William Cheng
0357b80f19
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-01 14:16:17 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
William Cheng
eaa76f8e1f
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-08-17 18:10:59 +08:00
William Cheng
764a462711
Merge remote-tracking branch 'origin/5.3.x'
2021-08-16 21:38:34 +08:00
William Cheng
8403e59aa0
Prepare 5.2.1 release ( #10161 )
...
* prepare for 5.2.1 release
* update samples
2021-08-16 19:08:29 +08:00
Justin Black
cb71ae95a6
Feat adds has discriminator with non empty mapping ( #9667 )
...
* Adds hasDiscriminatorWithNonEmptyMapping getter and setter
* Removes venv
* Adds hasDiscriminatorWithNonEmptyMapping to CodegenModel
* Removes python-experimental folder
* Adds hasDiscriminatorWithNonEmptyMapping to CodegenProperty
* Adds hasDiscriminatorWithNonEmptyMapping to CodegenParameter
* Adds hasDiscriminatorWithNonEmptyMapping to CodegenResponse
* Sets hasDiscriminatorWithNonEmptyMapping in codegenModels
* Samples updated
* Adds getHasDiscriminatorWithNonEmptyMappin checks in existing discriminator tests
2021-08-07 07:52:10 -07:00
William Cheng
05e4c3cf64
update samples
2021-07-12 17:15:22 +08:00
William Cheng
35f933b27f
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
2021-07-12 17:11:35 +08:00
William Cheng
39fbf53150
create v5.3.0
2021-07-10 00:12:23 +08:00
William Cheng
02835b35bc
Prepare v5.2.1 ( #9922 )
...
* bump verions to 5.2.1-SNAPSHOT
* update samples
* update readme
* fix gradle properties
2021-07-09 22:42:31 +08:00
William Cheng
90f7bcd909
Prepare v5.2.0 release ( #9920 )
...
* 5.2.0 release
* update samples
* update meta codegen
2021-07-09 17:06:55 +08:00
William Cheng
cd2ef91dc3
Update logback to 1.2.0 ( #9722 )
...
* update logback to 2.1.0
* udpate jax-rs samples
2021-06-09 10:03:17 +08:00
Justin Black
6e6b8472d4
Adds isShort + isUnboundedInteger to IJsonSchemaValidationProperties implementers ( #9519 )
...
* Adds getter + setter methods for isShortInteger in IJsonSchemaValidationProperties
* Adds isShortInteger to CodegenModel
* Adds isShortInteger to CodegenProperty
* Adds isShortInteger to CodegenParameter
* Adds isShortInteger to CodegenResponse
* Ensures that samples are up to date
* Changes interface to isShort
* Removes typescript file
* Adds isShort to CodegenModel and CodegenProperty instances
* Samples updated, shows too many changes across generators
* Adds isUnboundedInteger and implements it in CodegenModel
* Adds isUnboundedInteger to COdegenProperty
* Adds isUnboundedInteger to CodegenParameter
* Adds isUnboundedInteger to CodegenResponse
* Regenerates samples and docs
* Adds testBooleansSetForIntSchemas
* Fixes integer tests
2021-05-26 11:59:28 -07: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
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
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
William Cheng
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +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
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
d96197bcbd
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-03 16:19:20 +08:00
William Cheng
ea428d6048
update jackson dependencies to address security issues ( #8778 )
2021-02-21 11:40:24 +08:00
William Cheng
a96febaba8
update samples
2021-01-28 17:41:48 +08:00
William Cheng
f887441591
update samples
2021-01-28 16:47:09 +08:00
Noor Dawod
f5c49609d2
Javadoc + operations interface + provider for state(ful/less) handlers ( #8346 )
...
* Added Javadoc + meta-data about request/response + abstract class.
* Added one more method to set base path.
* Updated Javadoc for each endpoint.
* Shorten the method name displayed in Javadoc.
* Fix README grammar.
* Separate imports based on type.
* Put operations into their own interface class.
* Update Javadoc.
* Adjust Mustache template to support Java 1.5.
* Add import for HttpServerExchange, suppress warning about using a Lambda.
* Remove @Override from a mgetStatefulHandler().
* Regenrate the samples.
2021-01-19 13:16:20 +08:00