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
|
||||
end
|
||||
end
|
||||
|
||||
@@ -79,14 +79,10 @@ controllers:
|
||||
|
||||
service:
|
||||
main:
|
||||
enabled: true
|
||||
controller: main
|
||||
primary: true
|
||||
type: ClusterIP
|
||||
ports:
|
||||
http:
|
||||
enabled: true
|
||||
primary: true
|
||||
port: 8080
|
||||
protocol: HTTP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user