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
|
||||||
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user