atomfrede / generator-jhipster-swagger2markup

JHipster module to create static api docs with swagger2markup
Apache License 2.0
40 stars 15 forks source link

Group Paths by Tag #1

Closed atomfrede closed 8 years ago

atomfrede commented 8 years ago

Hi,

the generated HTML/PDF looks better, if you group the paths by tags/resources.

The Gradle script should look like this:

convertSwagger2markup {
    dependsOn test
    inputDir swaggerOutputDir
    examplesDir asciiDocOutputDir
    pathsGroupedBy io.github.robwin.swagger2markup.GroupBy.TAGS
}

The HTML/PDF output looks like this then.

https://github.com/Swagger2Markup/swagger2markup/blob/master/images/Swagger2Markup.PNG

submitted by @RobWin

RobWin commented 8 years ago

Sry. Hatte das falsche Repo erwischt.

atomfrede commented 8 years ago

:) Kein Problem