Skip to content

Commit

Permalink
feat: preview v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakisan committed Dec 14, 2023
1 parent 8da26ae commit 07d669e
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class AsyncAPISpecificationHtmlRenderer {

private val urlProvider = service<UrlProvider>()
private val specificationTemplateUrl = "/ui/index.html"
private val specificationTemplateCssUrl = "default(1.0.0-next.48).min.css"
private val specificationTemplateJsUrl = "index(1.0.0-next.48).js"
private val specificationTemplateCssUrl = "default(1.2.6).min.css"
private val specificationTemplateJsUrl = "index(1.2.6).js"

fun render(request: FullHttpRequest, specificationUrl: String?): String {
specificationUrl ?: return "specification: not found."
Expand Down
Loading

0 comments on commit 07d669e

Please sign in to comment.