Package org.javalite.activeweb
Class HTMLTag
java.lang.Object
org.javalite.activeweb.HTMLTag
- All Implemented Interfaces:
freemarker.template.TemplateDirectiveModel
,freemarker.template.TemplateModel
Use this tag to embed a snippet of HTML into an OpenAPI document. It allows to write plain HTML in a separate file, and use an HTML editor.
Note that the file fill be searched at the location of
apiLocation
plugin parameter value, configured in the pom.xml
file.
Usage:
{ "description": "<@html file="table1.html" />