22#include "anch-oas-export.hpp"
28#include "oas/spec.hpp"
41 std::string
ns =
"model";
44 std::string
name =
"models";
GeneratorError(const std::string &message)
OpenAPI namespace.
Definition modelGenerator.hpp:30
anch::oas::GeneratedModels generateModels(const anch::oas::OpenAPI &api, const anch::oas::ModelOptions &options)
Generated models.
Definition modelGenerator.hpp:91
std::string serverSource
Definition modelGenerator.hpp:108
std::string source
Definition modelGenerator.hpp:96
std::string header
Definition modelGenerator.hpp:93
std::string clientSource
Definition modelGenerator.hpp:120
std::vector< std::string > warnings
Definition modelGenerator.hpp:137
std::string serverHeader
Definition modelGenerator.hpp:102
std::string clientHeader
Definition modelGenerator.hpp:114
std::string formsHeader
Definition modelGenerator.hpp:127
std::string formsSource
Definition modelGenerator.hpp:133
Models generation options.
Definition modelGenerator.hpp:39
bool client
Definition modelGenerator.hpp:75
bool constraints
Definition modelGenerator.hpp:61
bool uuid
Definition modelGenerator.hpp:47
std::string name
Definition modelGenerator.hpp:44
std::string api
Definition modelGenerator.hpp:81
std::string ns
Definition modelGenerator.hpp:41
bool server
Definition modelGenerator.hpp:68
bool date
Definition modelGenerator.hpp:51
bool strict
Definition modelGenerator.hpp:54
OpenAPI 3.0 document (models and endpoints parts).
Definition spec.hpp:413