William Cheng
a9fa4cd0db
Update default value for C++ related generator ( #373 )
...
* udpate default value for cpp, remove unused imports
* update cpprest template
* update tizen default value
* update cpp restbed default value
* update qt5cpp samples
* update pistache samples
* regenerate restbed ignore file
2018-05-08 22:10:40 +08:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
William Cheng
7c734445b2
fix file parameter in header file (cpprest) ( #130 )
2018-04-18 22:29:53 +08:00
William Cheng
52af29f46d
Update CPPREST client with OAS2 ( #128 )
...
* restore cpprest from codegen 2x
* fix cpprest by modifying the template
* better naming for array of models
* updtae cpprest samples with oas2
2018-04-18 18:13:35 +08:00
Jeremie Bresson
53597764c3
Add OpenAPI spec 3.0 support (beta)
...
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com >
Co-authored-by: Jeremie Bresson <dev@jmini.fr >
Co-authored-by: Jim Schubert <james.schubert@gmail.com >
Co-authored-by: Martin Delille <martin@phonations.com >
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com >
Co-authored-by: William Cheng <wing328hk@gmail.com >
2018-04-17 09:19:10 +02:00
François Rosé
acefe3f385
[CppRest] Add Object and fix modelbase includes ( #6905 )
...
* Objects are represented by `ModelBase.h`, not `Object.h` which does not exist.
* Use correct relative imports for files in the `model` and `api` folders.
* [CppRest] Update cpprest petstore client sample.
* Implement `Object` class to support arbitrary types.
* [CppRest] Update cpprest petstore client sample.
* [CppRest] Add newly generated files to petstore client sample.
* [CppRest] Add `Object` to CMakeLists.
2017-11-22 12:19:13 +08:00
François Rosé
d9cea0f97e
[CppRest] Support optional parameters ( #6959 )
...
* Use boost::optional for parameters that are not required.
* Update sample petstore client.
2017-11-22 12:13:05 +08:00
François Rosé
485b186129
[CppRest] Unique header guards ( #6904 )
...
* [CppRest] Generate unique header guards based on the package names.
* [CppRest] Update cpprest petstore client sample.
2017-11-09 17:59:45 +08:00
François Rosé
7a83081f18
[CppRest] Remove U macro ( #6903 )
...
* [CppRest] Replace U macro with conversion function for default string values.
* [CppRest] Replace U macro with conversion function in templates.
* [CppRest] Update cpprest petstore client sample.
2017-11-09 17:58:21 +08:00
Vlad Frolov
924a8e5efe
[CPPREST] Fixed multipart files upload implementation ( #6518 )
2017-09-29 15:46:16 +08:00
stmeyer
6c8bd6b83e
[QT5CPP] General Improvements ( #6315 )
...
* - check C++ keywords
- setter for SSL configuration
* recreate example QT5CPP
* only emit error signal if error happens
* provide more error information
* regenerate example QT5CPP
* * use reserved words in abstract cpp generator
* update CppRest examples
* remove tabs
2017-08-25 18:35:56 +08:00
stkrwork
4f33a02868
Swagger version info ( #6039 )
2017-07-13 17:32:24 +08:00
wing328
8e0d940e0a
update cpprest petstore sample
2017-05-05 16:20:59 +08:00
Ravi
f101a43b9e
[C++][CppRest] Add CMake file template to generate CMakeLists build file ( #5561 )
...
* Add operationId in exception message
* add number data type mapping
* removing mergetool lines
* first draft of cmake file
* compiles generated source files with 64 bit cpprest and boost
* using glob recurs to add source files
* using glob recurse for source files
* cmake to build statuc library
* add cmake style comments, use project source dir and lib
* fix_issue5488: Add supporting files and source files separately
* fix_issue5488: Add supporting files and source files separately
* fix_issue5488: Add supporting files and source files separately
* fix_issue5488 - updated header comments
* updated samples
2017-05-05 15:47:39 +08:00
wing328
aa85468932
remove trailing space in cpprest, update samples
2017-04-24 22:45:16 +08:00
Martin Brown
fc2b3d49ea
Issue 4632 ( #4803 )
...
* Updated the Petstore samples
* This change uses std::stringstream for string conversions instead of std::to_string(). Android doesn't yet support std::to_string(). This should fix #4632
2017-04-24 22:27:51 +08:00
wing328
82ccbc09f7
update cpprest petstore sample
2017-03-11 20:40:22 +08:00
Paŭlo Ebermann
a91cbbe387
Update samples after 2.2.2 ( #4901 )
...
* Update petstore samples for Groovy.
* Update samples for JaxRS.
* Update samples for cpprest.
* Update samples for dart.
* Update samples for flash.
* Update samples for go.
* Update samples for html2.
* Update samples for lumen.
* Update samples for nancxfx.
* Update samples for objc.
* Update samples for sinatra.
* Update samples for tizen.
* Update samples for java-inflector.
2017-03-06 00:33:57 +08:00
Gene Chang
95987fc132
Added support for datetime query parameters in cpprest ( #4556 )
...
* Added support for datetime query parameters in cpprest
Signed-off-by: Gene Chang <gene.chang@anyconnect.com >
* Update petstore sample app for cpprest using bin/cpprest-petstore.sh
Signed-off-by: Gene Chang <gene.chang@anyconnect.com >
2017-01-14 00:07:06 +08:00
wing328
5818f2c882
[C++] better code format for cpprest templates ( #4379 )
...
* replace tab with 4-space in cpprest templates
* remove trailing whitespaces from templates
* fix code indentation in cpprest templates
* remove empty block in cpprest templates
2016-12-13 16:09:56 +08:00
Scott Richter
da9d64d053
Fix for issue #4370 - Cpprest does not set Content-Type header on POST requests. ( #4374 )
...
* Fixed cpprest generator to include Content-Type header in requests.
* Fixing indent to use spaces.
2016-12-13 15:01:47 +08:00
wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
Scott Richter
b2e2643fd2
[Cpprest] Fixing issue #3773 ( #3876 )
...
* Fixed errors with cpprest client generation when generating a client that uses arrays of primitive types (vector) and file responses (HttpContent).
* Updated the petstore sample using script.
* Removed debug code.
* Removed extra newline to match master.
* Fixed binary file handling in cpprest. Updated petstore samples.
* Update readme to add Cummins to list
* Cleaning up for pull. Removing unnecessary changes.
* Fixing petstore
* Fixing error in build.
* Fixed error in stream copy for binary data
* Replaced tab with 4 spaces in all modified files.
Replaced tab with 4 spaces in all modified files.
2016-09-30 10:31:24 +08:00
wing328
2b7288d525
add license to cpprest files
2016-06-18 18:09:19 +08:00
wing328
ecd80a3d70
add cpprest and samples
2016-06-14 16:33:50 +08:00