Skip to content

Commit

Permalink
scala-play-server: fix API doc url (#3096)
Browse files Browse the repository at this point in the history
  • Loading branch information
adigerber authored and wing328 committed Jun 5, 2019
1 parent ad06496 commit 6379022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import play.api.mvc._
@Singleton
class ApiDocController @Inject()(cc: ControllerComponents) extends AbstractController(cc) {
def api: Action[AnyContent] = Action {
Redirect("/assets/lib/swagger-ui/index.html?/url=/assets/openapi.json")
Redirect("/assets/lib/swagger-ui/index.html?url=/assets/openapi.json")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import play.api.mvc._
@Singleton
class ApiDocController @Inject()(cc: ControllerComponents) extends AbstractController(cc) {
def api: Action[AnyContent] = Action {
Redirect("/assets/lib/swagger-ui/index.html?/url=/assets/openapi.json")
Redirect("/assets/lib/swagger-ui/index.html?url=/assets/openapi.json")
}
}

0 comments on commit 6379022

Please sign in to comment.