diff --git a/src/swagger/Schema.php b/src/swagger/Schema.php
index 8babc8e..26b23c0 100644
--- a/src/swagger/Schema.php
+++ b/src/swagger/Schema.php
@@ -15,6 +15,11 @@ class Schema extends Object
*/
public $title;
+ /**
+ * @var string
+ */
+ public $format;
+
/**
* @var string
*/
diff --git a/src/swagger/Swagger.php b/src/swagger/Swagger.php
index bea5961..3ae3561 100644
--- a/src/swagger/Swagger.php
+++ b/src/swagger/Swagger.php
@@ -22,6 +22,16 @@ class Swagger extends Object
*/
public $basePath;
+ /**
+ * @var string
+ */
+ public $host;
+
+ /**
+ * @var string[]
+ */
+ public $schemes;
+
/**
* @var string[]
*/
diff --git a/src/views/include.twig b/src/views/include.twig
index d879daf..f68b1bf 100644
--- a/src/views/include.twig
+++ b/src/views/include.twig
@@ -14,6 +14,17 @@
{% endfor %}
{% endif %}{#api.produces#}
+{% if api.schemes %}
+**Schemes**: `{{ api.schemes|join(', ') }}`
+{% endif %}
+
+{% if api.host %}
+**Host**: `{{ api.host }}`
+{% endif %}
+
+{% if api.basePath %}
+**Base path**: `{{ api.basePath }}`
+{% endif %}
{% if api.securityDefinitions %}
{% for title, securityScheme in api.securityDefinitions %}
### Authorization: {{ title }}
@@ -49,10 +60,10 @@ Type |{% if securityScheme.type == 'apiKey' %} Name | In |{% endif %} Descriptio
{# #################################################################################### #}
{% macro renderFields(model) %}
-Name | Type | Description
---- | --- | ---
+Name | Type | Format | Description
+--- | --- | --- | ---
{% for name, schema in model.properties %}
-{{ name }}{% if name in model.required %} * {% endif %} | {{ schema }} | {{ schema.description|multilineInTable }}{{ _self.enum(schema.enum) }}
+{{ name }}{% if name in model.required %} * {% endif %} | {{ schema }} | {{ schema.format }}{{ _self.enum(schema.enum) }} | {{ schema.description|multilineInTable }}
{% endfor %}
{% endmacro %}
diff --git a/src/views/slate.twig b/src/views/slate.twig
index 9c9440b..9e5075d 100644
--- a/src/views/slate.twig
+++ b/src/views/slate.twig
@@ -2,6 +2,9 @@
---
title: {{ api.info.title }} {{ api.info.version }}
+toc_footers:
+- Documentation Powered by Slate
+
search: true
---