mirror of
https://github.com/latentPrion/cppbessot.git
synced 2026-04-17 18:44:23 +00:00
Add mustache templates and config
This commit is contained in:
10
openapi/templates/cpp-odb-json/model-source.mustache
Normal file
10
openapi/templates/cpp-odb-json/model-source.mustache
Normal file
@@ -0,0 +1,10 @@
|
||||
{{#models}}
|
||||
{{#model}}
|
||||
#include "{{packageName}}/model/{{classname}}.h"
|
||||
|
||||
namespace models {
|
||||
// Nlohmann-based models are header-only for now.
|
||||
} // namespace models
|
||||
|
||||
{{/model}}
|
||||
{{/models}}
|
||||
Reference in New Issue
Block a user