File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public class Main {
200
200
# ### HTML
201
201
202
202
` ` ` java
203
- String htmlRender = new HtmlRender(" Changelog" , " http://deepoove.com/swagger-diff/stylesheets/demo.css" );
203
+ HtmlRender htmlRender = new HtmlRender(" Changelog" , " http://deepoove.com/swagger-diff/stylesheets/demo.css" );
204
204
FileOutputStream outputStream = new FileOutputStream(" testDiff.html" );
205
205
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(outputStream);
206
206
htmlRender.render(diff, outputStreamWriter);
@@ -209,7 +209,7 @@ htmlRender.render(diff, outputStreamWriter);
209
209
# ### Markdown
210
210
211
211
` ` ` java
212
- JsonRender markdownRender = new MarkdownRender ();
212
+ MarkdownRender markdownRender = new MarkdownRender ();
213
213
FileOutputStream outputStream = new FileOutputStream(" testDiff.md" );
214
214
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(outputStream);
215
215
markdownRender.render(diff, outputStreamWriter);
@@ -218,7 +218,7 @@ markdownRender.render(diff, outputStreamWriter);
218
218
# ### Asciidoc
219
219
220
220
` ` ` java
221
- JsonRender asciidocRender = new AsciidocRender ();
221
+ AsciidocRender asciidocRender = new AsciidocRender ();
222
222
FileOutputStream outputStream = new FileOutputStream(" testDiff.adoc" );
223
223
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(outputStream);
224
224
asciidocRender.render(diff, outputStreamWriter);
You can’t perform that action at this time.
0 commit comments