Fix wrong include path in api-header template (#3062)

Change local json.hpp include path to correct value.

Update samples.
This commit is contained in:
Matthias Preu
2019-06-03 09:41:45 +02:00
committed by William Cheng
parent 8d9eb5ba54
commit 1eca97f738
6 changed files with 349 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
#include <pistache/router.h>
#include <pistache/http_headers.h>
#include <pistache/optional.h>
{{^hasModelImport}}#include "json.hpp"{{/hasModelImport}}
{{^hasModelImport}}#include <nlohmann/json.hpp>{{/hasModelImport}}
{{#imports}}{{{import}}}
{{/imports}}