-
Notifications
You must be signed in to change notification settings - Fork 261
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
PDF not generated - Maven #7
Comments
Hi, |
thx for your answer, but I try to understand how it works because I have a Springboot project using springfox, so can I use this maven template to generate Resources parts in PDF file ? |
Sry. What I mean is that this pom.xml already includes the fix that the PDF generation works. If you use and like Swagger2markup, we would love to get your GitHub Stars. |
thx a lot |
Hello again, do you know this error ? [ERROR] Failed to execute goal io.github.swagger2markup:swagger2markup-maven-plugin:1.0.0:convertSwagger2markup (default) on project Orchestrator: Failed to execute goal 'convertSwagger2markup': text must not be blank -> [Help 1] THX a lot |
There seems to be a contact field in your Swagger spec which must not be empty. io.github.swagger2markup.markup.builder.internal.asciidoc.AsciiDocBuilder.paragraph(AsciiDocBuilder.java:91) |
what kind of contact field ? in your test class ? public class SwaggerConfig {
|
or is that a problem with dependency ? the only I changed compared to your pom.xml is this: io.springfox springfox-swagger2 2.4.0 |
Oh, I got it now it works, it wasn't the good place Thx, that's a great tool |
What what was the reason? |
my new docket... was empty. just an idiot mistake |
Hello,
I'm trying to generate html5 and PDF with maven package ascii......in your own project
That's ok with html, curl but maven can't continu with outputpdf. I have this:
[INFO] --- asciidoctor-maven-plugin:1.5.3:process-asciidoc (output-html) @ spring-swagger2markup-demo ---
io/console not supported; tty will not be manipulated
[INFO] Rendered D:\spring-swagger2markup-demo-master\src\docs\asciidoc\index.adoc
[INFO]
[INFO] --- asciidoctor-maven-plugin:1.5.3:process-asciidoc (output-pdf) @ spring-swagger2markup-demo ---
io/console not supported; tty will not be manipulated
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.175s
[INFO] Finished at: Fri Jun 17 10:18:57 GMT+01:00 2016
[INFO] Final Memory: 45M/312M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc (output-pdf) on project spring-swagger2markup-demo: Execution output-pdf of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.3:process-asciidoc failed: (Errno::ENOENT) C:/Users/ptotaro/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10.1/asciidoctorj-pdf-1.5.0-alpha.10.1.jar!D:/gems/addressable-2.3.8/data/unicode.data -> [Help 1]
[ERROR]
I saw that it can come from a version problem with asciidoctor-J
do you have an idea ?
thx
The text was updated successfully, but these errors were encountered: