Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML Generation Documentation #112

Closed
bonehead06 opened this issue Oct 22, 2018 · 1 comment
Closed

HTML Generation Documentation #112

bonehead06 opened this issue Oct 22, 2018 · 1 comment
Labels

Comments

@bonehead06
Copy link

I'm using version 2.11.0 and am trying to generate static HTML. I see the documentation in your README for how to build the ReDoc or the Swagger UI, but there is nothing about static HTML. I see in the main Swagger Codegen docs that it is possible by passing -l html as command line args, but I don't see a way to do it with this plugin.

@int128
Copy link
Owner

int128 commented Oct 23, 2018

You can generate static HTML by code generation with language = 'html' or language = 'html2' option.
See the following examples in https://github.com/int128/gradle-swagger-generator-plugin/tree/master/acceptance-test.

Working with Swagger Code Generator 2
Basic example for HTML document generation

Working with Swagger Code Generator 3
Basic example for HTML document generation

@int128 int128 closed this as completed in 2ecf3ec Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants