php-slim4-server.model.mustache Maven / Gradle / Ivy
licenseInfo}}
/**
* NOTE: This class is auto generated by the openapi generator program.
* https://github.com/openapitools/openapi-generator
*/{{#models}}{{#model}}
namespace {{modelPackage}};
use {{invokerPackage}}\BaseModel;
/**
* {{classname}}
*
* @package {{modelPackage}}
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/
class {{classname}} extends BaseModel
{
/**
* @var string Models namespace.
* Can be required for data deserialization when model contains referenced schemas.
*/
protected const MODELS_NAMESPACE = '\{{modelPackage}}';
/**
* @var string Constant with OAS schema of current class.
* Should be overwritten by inherited class.
*/
protected const MODEL_SCHEMA = <<<'SCHEMA'
{{{modelJson}}}
SCHEMA;
}
{{/model}}{{/models}}