forked from loafle/openapi-generator-original
[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:
committed by
sunn
parent
0526ccef3a
commit
991e0bf821
@@ -12,7 +12,7 @@
|
||||
{{#imports}}{{{this}}}
|
||||
{{/imports}}
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <pistache/optional.h>
|
||||
{{#hasOptional}}#include <pistache/optional.h>{{/hasOptional}}
|
||||
|
||||
{{#modelNamespaceDeclarations}}
|
||||
namespace {{this}} {
|
||||
|
||||
@@ -1 +1 @@
|
||||
4.1.3-SNAPSHOT
|
||||
4.2.0-SNAPSHOT
|
||||
Reference in New Issue
Block a user