-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve CI pipeline #377
Improve CI pipeline #377
Conversation
b38afa3
to
386eb3a
Compare
examples/phoenix_app/lib/phoenix_app_web/controllers/oauth_controller.ex
Outdated
Show resolved
Hide resolved
8b87f1d
to
df6fd5d
Compare
@mbuhot I've reverted the changes and put together a minimal set to make credo pass. I've also disabled the problematic style check. Let me know if this looks acceptable to you. |
155bb79
to
8f064de
Compare
3fa4fe9
to
40fca1c
Compare
I've rebased this to latest master and updated CI. Thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -193,7 +193,7 @@ defmodule OpenApiSpex.Plug.SwaggerUI do | |||
end | |||
|
|||
defp supplement_config(%{oauth2_redirect_url: {:endpoint_url, path}} = config, conn) do | |||
endpoint_module = apply(Phoenix.Controller, :endpoint_module, [conn]) | |||
endpoint_module = Phoenix.Controller.endpoint_module(conn) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this compile in prod
env? OpenApiSpex should work in plain plug projects that don't use phoenix.
Hi,
This improves the CI pipeline by:
I also fixed what appears to be a bug (null description in controller operation) while at it.