always expose swaggerUI
All checks were successful
Build and Publish / build-release (push) Successful in 1m32s

This commit is contained in:
2026-04-15 12:33:45 -05:00
parent 2c8000c757
commit 7164f07d3a
2 changed files with 2 additions and 8 deletions

View File

@@ -25,9 +25,7 @@ defmodule PolicyServiceWeb.Router do
end end
end end
if Mix.env() == :dev do
scope "/swaggerui" do scope "/swaggerui" do
get "/", OpenApiSpex.Plug.SwaggerUI, path: "/api/openapi" get "/", OpenApiSpex.Plug.SwaggerUI, path: "/api/openapi"
end end
end end
end

View File

@@ -79,14 +79,10 @@ controllers:
service: service:
main: main:
enabled: true
controller: main controller: main
primary: true
type: ClusterIP type: ClusterIP
ports: ports:
http: http:
enabled: true
primary: true
port: 8080 port: 8080
protocol: HTTP protocol: HTTP