swagger-maven-example icon indicating copy to clipboard operation
swagger-maven-example copied to clipboard

Example of markdown.mustache does not contain field names for data types

Open alexei-osipov opened this issue 10 years ago • 4 comments

Table template for section Data Types in templates\markdown.mustache does not contain contain column with information about field (property) name.

Current code (table headers):

<tr>
  <th>type</th>
  <th>required</th>
  <th>access</th>
  <th>description</th>
  <th>notes</th>
</tr>

alexei-osipov avatar Jan 06 '15 15:01 alexei-osipov

I think it's supposed to have an extra column column like

        <th>property</th>
        <td>{{name}}</td>

alexei-osipov avatar Jan 06 '15 15:01 alexei-osipov

Yes, but I think that plugin is not generating proper table with "property" column. Am I wrong?

programista-zacny avatar Mar 06 '15 11:03 programista-zacny

Plugin not generates "property" column because it just messed in template. And this can be fixed with just editing template file.

alexei-osipov avatar Mar 16 '15 12:03 alexei-osipov

I have just started using the swagger-maven-example to use the maven-plugin for generating swagger.json and static html and not successful in doing that, I observed that few files are missing as per the web.xml configuration. Please refer attached image for the error.

Can you please help me on this.

Thanks in advance!

swagger-maven-example_missing_code

sdhanavath avatar Jun 26 '15 10:06 sdhanavath