我正在将 bootprint 和 bootprint-json-schema 像这样:
bootprint json-schema my-fancy.schema.json文档
我这样安装了引导记录:
npm install -g引导记录
npm install -g bootprint-json-schema
我不知道的事情是如何使
元素成为我指定的内容,而不是文本 Bootprint
?
似乎总是生成此标头(即使关闭头具有奇数的缩进):
<!DOCTYPE html>
<头>
引导程序
我尝试确保我的模式具有 title
元素,如下所示:
{
“ $ schema”:“ http://json-schema.org/draft-07/schema#”,
“ $ id”:“我的ID”,
“ type”:“对象”,
“ title”:“ HTML title元素中应该有一个TITLE”,
“ description”:“某种描述”,
但这似乎不起作用。
在单独的配置文件中是否可以使用 -f
参数进行某些操作?