-
Notifications
You must be signed in to change notification settings - Fork 184
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
No more output from phx.swagger.generate
after upgrading to 0.8.1
#210
Comments
Which versions of plug, phoenix and elixir are you on? I’ll try to reproduce this issue. |
I'm using phoenix 1.34 and plug 1.6.4. |
I have the same problem... Resolving Hex dependencies... |
My problems seem to be even worse, I have basically the same umbrella setup, I have to use 0.7 to get any kind of feedback, and when I can get it to work by explicitly adding the
I am on Phoenix 1.4.0, plug 1.7.1, plug_cowboy 2.0.1 Edit: I looks like you need to add Edit2: hmm, I still don't see any paths in my swagger.json... Edit 3: oh you need |
I too had the same issue My other dependency versions are as follows, Then I downgraded PhoenixSwagger to 0.6.2 and now it works fine. |
@shijithkjayan did you add the required configuration?, added in version 0.8: https://github.com/xerions/phoenix_swagger/blob/master/CHANGELOG.md#080 |
I think this issue might be touching on the one I just submitted, #237. I have no paths ( |
same problem now |
I have an umbrella project where one of the applications is a phoenix project.
I updated the version of
phoenix_swagger
in the phx app from~> 0.7
to~> 0.8
.This downloaded version
0.8.1
, after which I have two issues:mix test
in the phx app, some other application can not start, with an error message complaining aboutplug_cowboy
mix phx.swagger.generate -r MyApp.Router -e MyApp.Endpoint priv/static/endpoint.json
from the phx app, either nothing happens (no file is generated), or I get some nonsensical error:I can imagine it's pretty localized to my project, and
mix
is not exactly deterministic, so it might have broken my install beyond repair.However, no amount of
rm -rf _builds && rm -rf deps && mix deps.get && mix deps.compile && mix please.please.please.do.something
(which is my highly scientific elixir-compliant way of "working") seems to do the trick.So any idea how I could attack the problem, would help.
I'm sticking to 0.7.0 in the meantime.
Thanks !
The text was updated successfully, but these errors were encountered: