You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description = "Generates an example Markdown document using Fugerit Venus Doc handler" )
50
+
@APIResponse(responseCode = "200", description = "The Markdown document content")
51
+
@APIResponse(responseCode = "500", description = "In case of an unexpected error")
52
+
@Tag(name = "document")
53
+
@Tag(name = "markdown")
54
+
@Operation(operationId = "MarkdownExample", summary = "Example Markdown generation", description = "Generates an example Markdown document using Fugerit Venus Doc handler")
55
55
@GET
56
56
@Produces("text/markdown")
57
57
@Path("/example.md")
58
58
publicbyte[] markdownExample() {
59
59
returnprocessDocument(DocConfig.TYPE_MD);
60
60
}
61
61
62
-
@APIResponse(responseCode = "200", description = "The HTML document content" )
63
-
@APIResponse(responseCode = "500", description = "In case of an unexpected error" )
64
-
@Tag( name = "document" )
65
-
@Tag( name = "html" )
66
-
@Operation( operationId = "HTMLExample", summary = "Example HTML generation",
67
-
description = "Generates an example HTML document using Fugerit Venus Doc handler" )
62
+
@APIResponse(responseCode = "200", description = "The HTML document content")
63
+
@APIResponse(responseCode = "500", description = "In case of an unexpected error")
64
+
@Tag(name = "document")
65
+
@Tag(name = "html")
66
+
@Operation(operationId = "HTMLExample", summary = "Example HTML generation", description = "Generates an example HTML document using Fugerit Venus Doc handler")
68
67
@GET
69
68
@Produces("text/html")
70
69
@Path("/example.html")
71
70
publicbyte[] htmlExample() {
72
71
returnprocessDocument(DocConfig.TYPE_HTML);
73
72
}
74
73
75
-
@APIResponse(responseCode = "200", description = "The AsciiDoc document content" )
76
-
@APIResponse(responseCode = "500", description = "In case of an unexpected error" )
description = "Generates an example AsciiDoc document using Fugerit Venus Doc handler" )
74
+
@APIResponse(responseCode = "200", description = "The AsciiDoc document content")
75
+
@APIResponse(responseCode = "500", description = "In case of an unexpected error")
76
+
@Tag(name = "document")
77
+
@Tag(name = "asciidoc")
78
+
@Operation(operationId = "AsciiDocExample", summary = "Example AsciiDoc generation", description = "Generates an example AsciiDoc document using Fugerit Venus Doc handler")
81
79
@GET
82
80
@Produces("text/asciidoc")
83
81
@Path("/example.adoc")
84
82
publicbyte[] asciidocExample() {
85
83
returnprocessDocument(DocConfig.TYPE_ADOC);
86
84
}
87
85
88
-
@APIResponse(responseCode = "200", description = "The PDF document content" )
89
-
@APIResponse(responseCode = "500", description = "In case of an unexpected error" )
90
-
@Tag( name = "document" )
91
-
@Tag( name = "pdf" )
92
-
@Operation( operationId = "PDFExample", summary = "Example PDF generation",
93
-
description = "Generates an example PDF document using Fugerit Venus Doc handler" )
86
+
@APIResponse(responseCode = "200", description = "The PDF document content")
87
+
@APIResponse(responseCode = "500", description = "In case of an unexpected error")
88
+
@Tag(name = "document")
89
+
@Tag(name = "pdf")
90
+
@Operation(operationId = "PDFExample", summary = "Example PDF generation", description = "Generates an example PDF document using Fugerit Venus Doc handler")
94
91
@GET
95
92
@Produces("application/pdf")
96
93
@Path("/example.pdf")
97
94
publicbyte[] pdfExample() {
98
95
returnprocessDocument(DocConfig.TYPE_PDF);
99
96
}
100
97
101
-
102
-
@APIResponse(responseCode = "200", description = "The CSV document content" )
103
-
@APIResponse(responseCode = "500", description = "In case of an unexpected error" )
0 commit comments