always expose swaggerUI
All checks were successful
Build and Publish / build-release (push) Successful in 1m32s
All checks were successful
Build and Publish / build-release (push) Successful in 1m32s
This commit is contained in:
@@ -25,9 +25,7 @@ defmodule PolicyServiceWeb.Router do
|
||||
end
|
||||
end
|
||||
|
||||
if Mix.env() == :dev do
|
||||
scope "/swaggerui" do
|
||||
get "/", OpenApiSpex.Plug.SwaggerUI, path: "/api/openapi"
|
||||
end
|
||||
scope "/swaggerui" do
|
||||
get "/", OpenApiSpex.Plug.SwaggerUI, path: "/api/openapi"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user