Package com.github.elibracha.output
Class HtmlRender
- java.lang.Object
-
- com.github.elibracha.output.HtmlRender
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.elibracha.model.ChangedOpenApidiffprotected static com.github.elibracha.utils.RefPointer<io.swagger.v3.oas.models.media.Schema>refPointer
-
Constructor Summary
Constructors Constructor Description HtmlRender()HtmlRender(String title, String linkCss)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidproperty(j2html.tags.ContainerTag output, String name, String title, io.swagger.v3.oas.models.media.Schema schema)protected voidproperty(j2html.tags.ContainerTag output, String name, String title, String type)Stringrender(com.github.elibracha.model.ChangedOpenApi diff)StringrenderHtml(j2html.tags.ContainerTag ol_new, j2html.tags.ContainerTag ol_miss, j2html.tags.ContainerTag ol_deprec, j2html.tags.ContainerTag ol_changed)protected io.swagger.v3.oas.models.media.Schemaresolve(io.swagger.v3.oas.models.media.Schema schema)protected Stringtype(io.swagger.v3.oas.models.media.Schema schema)
-
-
-
Method Detail
-
render
public String render(com.github.elibracha.model.ChangedOpenApi diff)
-
renderHtml
public String renderHtml(j2html.tags.ContainerTag ol_new, j2html.tags.ContainerTag ol_miss, j2html.tags.ContainerTag ol_deprec, j2html.tags.ContainerTag ol_changed)
-
property
protected void property(j2html.tags.ContainerTag output, String name, String title, io.swagger.v3.oas.models.media.Schema schema)
-
property
protected void property(j2html.tags.ContainerTag output, String name, String title, String type)
-
resolve
protected io.swagger.v3.oas.models.media.Schema resolve(io.swagger.v3.oas.models.media.Schema schema)
-
type
protected String type(io.swagger.v3.oas.models.media.Schema schema)
-
-