I use 2 different ways to generate static html from a swagger/yaml 2.0 model:
1. swagger to static HTML, using org.swagger2html.Swagger2Html
a. works fine (generates static HTML file) with no ApiModelProperty definition
b. throws OOM error when add ApiModelProperty definition and try to generate static HTML
2. Using Codegen 1.4.0-SNAPSHOT base code
a. for html option does NOT generate ApiModelProperty definition in static HTML
b. for html2 option does NOTgenerate ApiModelProperty definition in static HTML
Go to Solution.
Correction. Swagger codegen is working correctly. Only swagger2Html does not work. Not sure if you own swagger2Html. So mabe you need to close this query.
View solution in original post