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
This commit is contained in:
William Cheng
2018-11-14 16:43:14 +08:00
committed by GitHub
parent 0165b0fb33
commit f647b2f24b
49 changed files with 90 additions and 42 deletions

View File

@@ -4,7 +4,7 @@
*
* OpenAPI spec version: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.0-SNAPSHOT.
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.3-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -4,7 +4,7 @@
*
* OpenAPI spec version: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.0-SNAPSHOT.
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.3-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -25,7 +25,7 @@
#include "HttpContent.h"
#include "Pet.h"
#include <cpprest/details/basic_types.h>
#include "../ModelBase.h"
#include <boost/optional.hpp>
@@ -63,7 +63,7 @@ public:
///
/// </remarks>
/// <param name="petId">Pet id to delete</param>
/// <param name="apiKey"> (optional)</param>
/// <param name="apiKey"> (optional, default to utility::conversions::to_string_t(&quot;&quot;))</param>
pplx::task<void> deletePet(
int64_t petId,
boost::optional<utility::string_t> apiKey

View File

@@ -4,7 +4,7 @@
*
* OpenAPI spec version: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.0-SNAPSHOT.
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.3-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -4,7 +4,7 @@
*
* OpenAPI spec version: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.0-SNAPSHOT.
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.3-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -24,7 +24,7 @@
#include "Order.h"
#include <map>
#include <cpprest/details/basic_types.h>
#include "../ModelBase.h"
#include <boost/optional.hpp>

View File

@@ -4,7 +4,7 @@
*
* OpenAPI spec version: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.0-SNAPSHOT.
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.3-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@@ -4,7 +4,7 @@
*
* OpenAPI spec version: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.0-SNAPSHOT.
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.3-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -24,7 +24,7 @@
#include "User.h"
#include <vector>
#include <cpprest/details/basic_types.h>
#include "../ModelBase.h"
#include <boost/optional.hpp>