William Cheng
4ff7e0ec3f
Prepare 7.5.0 snapshot ( #18068 )
...
* Revert "7.4.0 release"
This reverts commit eda049348425171df772a7b9087cc97db718cfda.
* prepare 7.5.0 snapshot version
* update samples
* update doc
2024-03-11 11:10:52 +08:00
Simon Podlipsky
1e9bccca16
feat: generate EOL in VERSION file ( #17829 )
...
The EOL is missing so let's add it in order to comply with POSIX standard:
Line
> A sequence of zero or more non- <newline> characters plus a terminating <newline> character.
2024-02-12 15:40:55 +08:00
William Cheng
783e68c7ac
7.4.0 snapshot ( #17818 )
...
* Revert "7.3.0-release (#17817 )"
This reverts commit d617b46c86b9075c5e0d63fe3798e2982f5259ac.
* update samples, docs, readme
2024-02-08 16:07:22 +08:00
martin-mfg
9afea50cab
use map/array model class only if it is generated ( #17612 )
...
* fix
* tests
* generate samples
* refactor
2024-01-29 21:35:21 +08:00
martin-mfg
64f2cad9e8
fix #17258 - use model class only if it is generated ( #17490 )
...
* fix #16797 and #15796 spring child constructor missing parent params
* root cause and update the DefaultCodegen.java to add missing property when with multi inheritance
* rollback SpringCodegen.java
* update samples
* rollback with master cause #16992 fixed this issue too
* still using orignal design
* catchup master
* catchup master
* catchup master
* fix
* add tests
---------
Co-authored-by: dabdirb <dabdirb@gmail.com>
2024-01-05 10:30:28 +08:00
William Cheng
5eab3cef19
Prepare 7.3.0-SNAPSHOT ( #17456 )
...
* Revert "v7.2.0 release (#17455 )"
This reverts commit fe638d009363c142c246ff089032f243e0b4ee01.
* set version to 7.3.0-SNAPSHOT
* update doc
2023-12-22 16:55:58 +08:00
Viktor Szépe
39d5b4ebf9
Replace stray TAB characters with spaces ( #17311 )
...
* Replace stray TAB characters with spaces
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-05 18:01:25 +08:00
William Cheng
53289263d9
Prepare v7.2.0 ( #17050 )
...
* update version to 7.2.0-SNAPSHOT
* update samples
* update doc
2023-11-13 18:53:20 +08:00
devhl-labs
5a5ee163dc
fixed lambda to not strip line breaks ( #16930 )
2023-10-29 11:08:04 +08:00
martin-mfg
2ca99bdf8e
use model class for request body with additionalProperties ( #16613 )
...
* try out simple fix
* add test case
* generate samples
2023-09-23 13:07:53 +08:00
William Cheng
5e8e2d7f6d
Prepare v7.1.0 in master ( #16608 )
...
* prepare v7.1.0 in master
* update
2023-09-18 17:37:36 +08:00
martin-mfg
d6695056fe
add test case for nullable parent property ( #16552 )
...
* add nullable case to spring test spec
* generate samples for changed spring input
* add nullable case to general test spec
* generate samples for changed general input
* generate samples again
* generates samples again
* re-build from new sources, generates samples again
2023-09-12 15:59:58 +08:00
William Cheng
80121aa88f
Prepare v7.0.1 ( #16409 )
...
* prepare 7.0.1 in master
* update doc
2023-08-25 16:11:29 +08:00
martin-mfg
7e89e1ea81
fix import mapping for return types ( #14525 ) ( #15719 )
...
* importContainerType = true
* add unit test
* disable MyImportTest
* build all samples, add import exceptions
* simplify code
* delete myImportTest
* generate docs
* extend comment
* remove inline comment
2023-06-21 15:55:29 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
martin-mfg
b7f2b723aa
[JAVA] fix toUrlQueryString for BigDecimal ( #15764 )
...
* add MyImportTest.java
* fix original issue
* fix same issue for native library
* remove MyImportTest
* add test configs
* generate samples (again?)
* generate samples again
* generate samples again, undo pom.xml mistake [amended to retrigger circliCi]
2023-06-08 09:34:06 +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
a4dd90c01d
Better allOf handling in fromProperty ( #15035 )
...
* fix allOf handling in fromProperty
* add null check, update samples
* update dart generator to handle allof with a single ref
2023-03-26 15:06:27 +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
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
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
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
Jacob Halsey
e6dd608897
Rust: Issue #13453 - Empty enum variant names ( #13454 )
2022-09-20 22:52:13 +08: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
Lukas Woodtli
27f3a5c36d
Small fixes and cleanup on cpp-restbed-server ( #13305 )
...
Some small issues sneaked into the improved restbed generator.
2022-08-29 18:26:13 +08:00
Lukas Woodtli
d2e60f59b3
Cpp restbed server improvements ( #13030 )
...
* Keep old implementation of cpp-restbed generator as cpp-restbed-server-deprecated
* Refactor operation path processing
* Restructure samples directory to better allow writing tests
* Improve templates for cpp-restbed-server
Improve templates
* Add integration tests
* Improvement in templates for cpp-restbed-server
* Fix tests
* Improve cpp-restbed generator
* Improve cpp-restbed-server
* Add more tests
* Add suppoert for arrays of enums in query params
* Generate CMakeLists.txt
* Small improvements and example in Readme
* Add integration tests to maven project
* Update doc
2022-08-27 18:10:28 +08:00
Lukas Woodtli
0023f3b7ce
Improve templates for C++ Restbed ( #10543 )
...
* Improve templates for C++ Restbed
The templates now generate classes which have virtual functions that can
be overridden to implement handlers.
* Fix missing HTTP methods in generated restbed C++ code
There was a wrong handling of "x-codegen-other-methods".
Change-Id: If6526d2672434beb5ebb0871d84cb80d84c34c38
2021-10-13 13:57:40 +08:00
basyskom-dege
febd65d3b8
Qt5 parameterized server ( #8183 )
...
* first Commit parameterzied Server support
* fixed serverconfig classes
* Defautl constructor f. Config, fixed regex replace
* Polosihed Templates, Added MultiServer support
* Update Readme. Fixed MultiServer. Fixed def. Value
* Passing global Server to mustache. Small fixes
* Updated samples, fixed mustache for multi server
* added prefixes, removed unused imports
* added newly generated samples
* missing vendorExtension in mustache. Update smaple
* update doc
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-12-19 11:34:12 +08:00
Francesco Montorsi
bb6785ad70
[cpp-restbed-server] Allow to implement validation of input data for enumerations ( #7717 )
...
* Allow to implement validation of input data for enumerations
* Regen petstore sample
2020-12-09 00:34:35 +08:00
Francesco Montorsi
4860eb65e1
[cpp-restbed-server] make the restbed SERVER generator more extensible ( #7679 )
...
* Simple fix to allow users to override the Api class and set handlers
* fix definition order
* Regen petstore example files
2020-10-27 15:35:10 +08:00
AlexG
1cb99e3497
[cpp-restbed] Added "out-of-the-box" functionality ( #4759 )
...
* Added cpp-restbed "out-of-the-box" functionality
* handling class dependencies
* added method override to clean interfaces of ambiguity
* added default values for shared pointers
* fixed _name and name parameters generating the same getters and setters
* updated enum handling
* updated Petstore samples
* updated templates for automated object generation
* fix whitespace
* removed model initialisation
* added model brace initialisation
2020-01-02 20:36:22 +08:00
lwlee2608
a9ea8636e5
fix cpp-restbed-server json field serialization #4320 ( #4323 )
2019-11-01 10:56:12 +08:00
Mateusz Szychowski (Muttley)
87adba9c4b
[C++][Restbed] Add handler callback methods ( #2911 )
...
* [C++][Restbed] Add handler callback methods
* [C++][Restbed] Update Petstore sample
2019-05-30 16:45:28 +02:00
sunn
561c1e0646
Use super class methods for Model and Api Filenames ( #2787 )
2019-05-03 19:14:12 +02:00
stkrwork
52a112d90f
[C++][Restbed] Fix default value for Restbed ( #1186 )
...
* Start working on fixing default value in Restbed Server Api Template
* fix default value in DefaultCodegen
* Revert "fix default value in DefaultCodegen"
This reverts commit ce690069d25f79f4308240a611792a0dd87bb172.
* fix default value in cpprest
* update cpp restbed samples
2018-10-08 01:54:06 +08:00
William Cheng
096ac567ce
Revert "[C++][Restbed] Fix default values for Restbed Server generator" ( #1027 )
...
* Revert "[gradle plugin] Support Gradle 4.10 (#1011 )"
This reverts commit 131cf94fe4a03e79abc992e2cf3560a9174c5d2e.
* Revert "[C++][Restbed] Fix default values for Restbed Server generator (#761 )"
This reverts commit f29ba97e8bb13598708db7ea2ee7a5288ad1bd0c.
2018-09-13 09:21:39 +08:00
stkrwork
f29ba97e8b
[C++][Restbed] Fix default values for Restbed Server generator ( #761 )
...
* Start working on fixing default value in Restbed Server Api Template
* fix default value in DefaultCodegen
2018-09-13 01:13:02 +02:00
stkrwork
0809d8f527
[C++][Restbed/Pistache] Added fix for byte array ( #752 )
...
* Added fix for byte array
* Fix spacing
* Adapted default value for ByteArray
* Adapted default value for ByteArray in Pistache Server
2018-08-07 17:07:05 +02:00
Akihito Nakano
2392a09eeb
[C++ server] Adjust the names (script, sample folder, generator) to lang option ( #250 )
...
* Renamce C++ server scripts
* Change output folder
* Rename sample folder: pistache-server -> cpp-pistache
* Rename sample folder: restbed -> cpp-restbed
2018-06-10 22:48:30 +08:00