Closed imyellow closed 8 years ago
You can do this by modifying the default Jade template. Make a copy of index.jade, mixins.jade and scripts.js from the Olio template, then in mixins.jade remove:
if request.schema
h5 Schema
pre: code
!= self.highlight(request.schema, null, ['json', 'yaml', 'xml'])
div(style="height: 1px;")
and run aglio with --theme-template /path/to/new/template/index.jade
option.
This seems like a very useful change as I did the same thing to ours. Seems like this should be added as an option to the Olio theme.
When I use
+ Attributes
in Response,it will addSchema
to html code auto, how can I disable it? thanks.