diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-07-26 22:47:19 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-09-17 19:25:06 +0300 |
commit | 683f7276576dbf0bf7770570190f6b5b4e84d4c9 (patch) | |
tree | 5ce732faa82e8360367006c510e9797bb7ee51d1 /include/webassets.hpp | |
parent | cc340dd933d38095214a0eeb7c1ee77510bd30cd (diff) | |
download | bmcweb-683f7276576dbf0bf7770570190f6b5b4e84d4c9.tar.xz |
Implement JsonSchema endpoint
This patchset implements JsonSchema support, and automates our update
of the XML metadata, and Json schema files in the future by way of a
python script.
Change-Id: Iec6f580d10736678149db18d87be2f140b535be9
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'include/webassets.hpp')
-rw-r--r-- | include/webassets.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/webassets.hpp b/include/webassets.hpp index 7f1c1f5701..ae8effd37e 100644 --- a/include/webassets.hpp +++ b/include/webassets.hpp @@ -44,6 +44,7 @@ template <typename... Middlewares> void requestRoutes(Crow<Middlewares...>& app) {".svg", "image/svg+xml"}, {".eot", "application/vnd.ms-fontobject"}, {".xml", "application/xml"}, + {".json", "application/json"}, {".jpg", "image/jpeg"}, {".jpeg", "image/jpeg"}, {".json", "application/json"}, |