[C++][Pistache] Use optional when required (#4082)

* [C++][Pistache] Include pistache/optional only when required

* [C++][Pistache] Update Petstore sample
This commit is contained in:
Mateusz Szychowski (Muttley)
2019-10-07 12:27:45 +02:00
committed by sunn
parent 0526ccef3a
commit 991e0bf821
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
{{#imports}}{{{this}}}
{{/imports}}
#include <nlohmann/json.hpp>
#include <pistache/optional.h>
{{#hasOptional}}#include <pistache/optional.h>{{/hasOptional}}
{{#modelNamespaceDeclarations}}
namespace {{this}} {

View File

@@ -1 +1 @@
4.1.3-SNAPSHOT
4.2.0-SNAPSHOT