Skip to content

Commit

Permalink
fix: OpenAPI server path to point to /api/search
Browse files Browse the repository at this point in the history
  • Loading branch information
jachro committed Mar 6, 2024
1 parent c7c9caf commit cfc9db8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ final class HttpApplication[F[_]: Async](searchApi: SearchApi[F]) extends Http4s
private val prefix = "/search"

private val search = SearchRoutes[F](searchApi)
private val openapi = OpenApiRoute[F](prefix, "Renku Search API", search.endpoints)
private val openapi =
OpenApiRoute[F](s"/api/$prefix", "Renku Search API", search.endpoints)

lazy val router: HttpApp[F] =
Router[F](
Expand Down

0 comments on commit cfc9db8

Please sign in to comment.