William Cheng
2578ef5e63
Prepare snapshot (v5.0.0) ( #7986 )
...
* Revert "prepare 5.0.0-beta3 release"
This reverts commit 3ebe774df37b43348bac1310a272de53a2d7040b.
* revert to snapshot
* update samples
2020-11-20 19:19:59 +08:00
William Cheng
2715f1371a
Prepare 5.0.0 beta3 ( #7984 )
...
* prepare 5.0.0-beta3 release
* update samples
* remove beta3 from readme
2020-11-20 15:18:58 +08:00
William Cheng
2fd23f505e
Prepare 5.0.0-SNAPSHOT ( #7347 )
...
* Revert "Prepare 5.0.0-beta2 release (#7345 )"
This reverts commit 212b4f784742744b7b238607dcefb23ec9db64d7.
* update readme
2020-09-04 15:31:54 +08:00
William Cheng
212b4f7847
Prepare 5.0.0-beta2 release ( #7345 )
...
* update version
* update doc
* update samples
2020-09-04 13:03:45 +08:00
William Cheng
31d5652c3d
[C++][Cpprest] update cmakelist to fix issue on Linux ( #7223 )
...
* fix cmake in linux with cpprestsdk_DIR
* update sample
2020-08-16 22:12:21 +08:00
sunn
e658c49f77
[C++] [restsdk]Update CMakeLists.txt for seamless building on Windows and Linux ( #6658 )
...
* Update CMakeLists.txt for seamless building on Windows and Linux
* Update CMakeLists.txt
Missing the line ending
* Indent if statements and use target specific directives
* Change Client CMakeLists.txt to non Debug
2020-06-15 09:08:35 +02:00
sunn
31d05f3f48
Fix compilation on Windows ( #6608 )
2020-06-10 16:09:04 +02:00
Jim Schubert
70ca93570e
[core][general] Add metadata file tracking to aid in "Golden Tests" regeneration ( #6325 )
2020-05-22 16:48:32 -04:00
William Cheng
5a9b0fcf9e
update samples
2020-04-21 02:22:55 +08:00
William Cheng
a0ca253218
update samples ( #5722 )
2020-03-27 13:55:55 +08:00
sunn
2d6311cbdc
Change the Model template ( #5222 )
2020-02-25 17:21:44 +08:00
William Cheng
118b5e7747
[C++] minor improvements ( #5319 )
...
* minor code format, make sure cpp samples updated
* add new files
2020-02-14 10:58:15 +01:00
eimerej
346cfc62f3
[cpp-restsdk] fix crashes and constness ( #5123 )
...
* []c++[cpprest]fix some constness and invalid access to null entities
* update petstore sample
2020-02-13 20:59:33 +01:00
sunn
1dfa61231c
[C++] [cpprest] Fixed wstring on linux ( #3892 )
...
* Fixed wstring on linux
* Removed whitespace
2019-09-19 16:11:38 +02:00
dan-drl
752030890f
Fix issue deserializing to nullptr ( #3572 )
...
* Fix issue deserializing to nullptr
* Update codegen files
2019-08-09 00:17:54 +08:00
sunn
6c98046ee6
[C++] [cpprestsdk] Add examples and test for cpprestsdk ( #3109 )
...
Add examples and test for cpprestsdk
2019-06-07 23:37:49 +02:00
sunn
561c1e0646
Use super class methods for Model and Api Filenames ( #2787 )
2019-05-03 19:14:12 +02:00
dan-drl
40759a57fb
[C++][RESTSDK] support enums ( #2749 )
...
* Support enums
* Updating petstore sample
* Use enum class instead of just enum
* Use string_t for g++ compatibility
* Add enum descriptions
* Fix string parsing. Make g++ compatible.
2019-05-01 17:22:05 +02:00
dan-drl
a7df4adcf5
[C++][RestSDK] Windows vcpkg vs2017 support ( #2751 )
...
* Add boost-uid to vcpkg isntall command. It's required.
* Add instructions for building on visual studio 2017
* Add section to support vcpkg and visual studio
* Undef U on windows to stop compiler error
* Update pet store sample
* Move undef U to apiclient-header
* Slight change to address compiler warning
2019-04-30 22:27:22 +02:00
dan-drl
0ebc714d29
[C++][RESTSDK] models header fix ( #2750 )
...
* Fix issue including header, the filename not the class name should be used to import a header file.
* Include header file name, not class name.
Header file name and class name differ.
* Update petstore samples
2019-04-28 01:07:24 +02:00
sunn
19619251f5
Fix filename generation due to camelize rework ( #2744 )
2019-04-26 13:30:29 +08:00
rhard
70180e074c
Fix string types for cpprestsdk client generator ( #1676 )
...
* Fix string types for cpprestsdk client generator
* Regenerate the samples for restsdk-client
2019-02-18 22:34:51 +08:00
Daniel Miller
cbda3fad98
[C++][Client][C++ Rest SDK] Fix path parameters with format ( #1987 )
...
* Create parameterToString for shared_ptr<T>
* Update cpp-restsdk sample petstore client
2019-01-31 10:47:00 +08:00
Juan Eugenio Abadie
e84c59f4cc
[cpp rest-sdk] Add status code to response handler ( #1541 )
...
* Add status code parameter to the response handler
* Update PetStore
2018-12-04 18:35:39 +08:00
Juan Eugenio Abadie
dd33434064
[cpp rest-sdk] Reponse headers handler ( #1511 )
...
* Add support to set a Response headers handler
* Update PetStore
* Fix missing names
* Update PetStore
2018-11-23 11:38:40 +01:00
William Cheng
f647b2f24b
Add file post-processing to C++ client, server generators ( #1440 )
...
* add file post processing to cpp generators
* use clang to auto format cpp-restsdk code
* restore cpp-restsdk samples without clang format
2018-11-14 16:43:14 +08:00
Juan Eugenio Abadie
ecff8b5d00
[cpp rest-sdk]Fix precision ( #1293 )
...
* Convert floating point numbers to string with higher precision
* Update PetStore
2018-11-01 20:25:38 +01:00
Juan Eugenio Abadie
d80f3a6197
[cpp rest-sdk] Constness ( #1295 )
...
* Improve method signatures to use const when the value won't change
* Update PetStore
* Change setters for non-primitive types to receive const reference parameters
* Update PetStore
2018-10-28 08:01:52 +01:00
sunn
0853b2d31d
Add ref support inside fromProperty ( #1235 )
2018-10-20 13:52:46 +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
Juan Eugenio Abadie
2d99836e90
[C++] [cpp-rest-sdk] Check for null values ( #990 )
...
* Check whether a value is present but null
* Update Petstore sample
2018-09-11 00:15:44 +08:00
Rytis Karpuška
1c6ab3f831
Add localVar prefix to parameterized functions variables in cpprestsdk in order to make name clashing less probable. ( #731 )
2018-08-16 18:16:58 +08:00
William Cheng
6de09688ad
Add auto-generated readme for cpprestsdk client ( #814 )
...
* add auto-generated readme for cpprestsdk client
* update cpprest client sample
* remove error message from cmake
2018-08-16 00:23:48 +08:00
Rytis Karpuška
0cd6d8c139
Do not declare destructor as default when destructor is explicitly declared. ( #732 )
2018-08-12 13:44:07 +02:00
Daniel Miller
987fd77042
[cpp-restsdk] Support multi-line descriptions ( #753 )
...
* Update IndentedLambda to take optional prefix
* Add `multiline_comment_4` to CppRestSdkClient
* Update cpp-restsdk example
2018-08-09 19:01:15 -04:00
William Cheng
86d7009f4c
replace tab with spaces, fix empty spaces in new lines ( #632 )
2018-07-24 17:30:54 +08:00
Daniel Miller
530065137d
[cpp-restsdk] Generate mockable APIs ( #595 )
...
* Port GMock feature from NativeInstruments
swagger-codegen fork:
https://github.com/NativeInstruments/swagger-codegen/pull/9
* Update petstore for Mockable APIs
* Fix shared_ptr in templates for File params
* Add guards in templates for GMock APIs
* Regenerate samples without GMocks
* Add useful constructors for GMock APIs
* Add constructors to API header interface
* Update samples with explicit monadic constructors
* Add default implementations for destructors
2018-07-24 15:31:21 +08:00
Akihito Nakano
cf657f1c7b
[C++] Adjust the names (script, sample folder, generator) to lang option ( #220 )
...
* Rename script: qt5-petstore.sh -> cpp-qt5-petstore.sh
* Rename sample folder: qt5cpp -> cpp-qt5
* Rename script: cpprest-petstore.sh -> cpp-restsdk-petstore.sh
* Rename sample folder: cpprest -> cpp-restsdk
* Rename generator: CppRestClientCodegen -> CppRestSdkClientCodegen
* Rename script: tizen-petstore.sh -> cpp-tizen-petstore.sh
* Rename sample folder: tizen -> cpp-tizen
* Rename script(security): qt5cpp-petstore.sh -> cpp-qt5-petstore.sh
* Rename sample folder(security): qt5cpp -> cpp-qt5
* Rename script(windows): qt5cpp-petstore.bat -> cpp-qt5-petstore.bat
* Change sample folder
* Rename script(windows): cpprest-petstore.bat -> cpp-restsdk-petstore.bat
* Change sample folder
* Rename script(windows): tizen-petstore.bat -> cpp-tizen-petstore.bat
* Change sample folder
* Change output folder: tizen -> cpp-tizen
* Rename the scripts under bin/openapi3
cpp-restsdk is not exist under bin/openapi3
* Change sample folder
2018-06-07 16:55:43 +08:00