smallrye-openapi extension not working on Quarkus 0.18.0

568 views
Skip to first unread message

Filippe Spolti

unread,
Jul 1, 2019, 7:15:04 PM7/1/19
to Quarkus Development mailing list
Hi all, have anyone face the issue below as well?

I was using Quarkus 0.16.1 with smallrye-openapi extensions , everything was working normally, but after updating Quarkus to 0.17.0 or 0.18.0, it has stopped to work.


20:10:37 INFO  [io.quarkus] Quarkus 0.18.0 started in 2.789s. Listening on: http://[::]:8080
20:10:37 INFO  [io.quarkus] Installed features: [cdi, resteasy, resteasy-jsonb, scheduler, smallrye-openapi]


RESTEASY003210: Could not find resource for full path: http://localhost:8080/swagger-ui

Stuart Douglas

unread,
Jul 1, 2019, 9:02:32 PM7/1/19
to Quarkus Development mailing list
Have you added the swagger-ui extension?

Stuart

Emmanuel Bernard

unread,
Jul 2, 2019, 10:59:51 AM7/2/19
to Stuart Douglas, Quarkus Development mailing list
Swagger UI is off b y default when you start Quarkus with java -jar or from the native executable. It is enable when you run from quarkus;dev
you can force Swagger UI to show up even in production by using
quarkus.swagger-ui.always-include=true

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
Visit this group at https://groups.google.com/group/quarkus-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/6f7e0241-dffb-4357-9ae7-f217b72333c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Emmanuel Bernard

unread,
Jul 2, 2019, 11:01:25 AM7/2/19
to Stuart Douglas, Quarkus Development mailing list
swagger-ui is a dependency of sr-openapi's extension

On Tue, Jul 2, 2019 at 3:02 AM Stuart Douglas <stuart.w...@gmail.com> wrote:
--

Filippe Spolti

unread,
Jul 2, 2019, 12:06:48 PM7/2/19
to Quarkus Development mailing list
That's it, thanks.


Em terça-feira, 2 de julho de 2019 11:59:51 UTC-3, Emmanuel Bernard escreveu:
Swagger UI is off b y default when you start Quarkus with java -jar or from the native executable. It is enable when you run from quarkus;dev
you can force Swagger UI to show up even in production by using
quarkus.swagger-ui.always-include=true

On Tue, Jul 2, 2019 at 3:02 AM Stuart Douglas <stuart....@gmail.com> wrote:
Have you added the swagger-ui extension?

Stuart

On Tuesday, 2 July 2019 09:15:04 UTC+10, Filippe Spolti wrote:
Hi all, have anyone face the issue below as well?

I was using Quarkus 0.16.1 with smallrye-openapi extensions , everything was working normally, but after updating Quarkus to 0.17.0 or 0.18.0, it has stopped to work.


20:10:37 INFO  [io.quarkus] Quarkus 0.18.0 started in 2.789s. Listening on: http://[::]:8080
20:10:37 INFO  [io.quarkus] Installed features: [cdi, resteasy, resteasy-jsonb, scheduler, smallrye-openapi]


RESTEASY003210: Could not find resource for full path: http://localhost:8080/swagger-ui

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.

Filipe Castilho

unread,
Jul 25, 2019, 10:02:52 AM7/25/19
to Quarkus Development mailing list
I'm having the same issue. I get a 404 when I try to access http://localhost:8080/swagger-ui. I'm using latest version of quarkus.
I have the swagger extension and I'm running with quarkus;dev.

Any ideas?

Guillaume Smet

unread,
Jul 25, 2019, 10:14:07 AM7/25/19
to ktul...@gmail.com, Quarkus Development mailing list
Which OS do you use?

I wonder if we have an issue with Windows?

Another question: do you have a space in your workspace path?
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/753e4d3a-ec05-40ba-8bc7-434ab9dc58c8%40googlegroups.com.

Filipe Castilho

unread,
Jul 25, 2019, 10:15:39 AM7/25/19
to Quarkus Development mailing list
Yup, I'm on windows 10 and I also have space.

Is there any additional info I can provide?
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.

Filipe Castilho

unread,
Jul 25, 2019, 1:00:02 PM7/25/19
to Quarkus Development mailing list
Yeah, just tried the same code on linux and it worked fine.

Any ideas what the problem in windows is?

Emmanuel Bernard

unread,
Jul 25, 2019, 2:03:20 PM7/25/19
to Filipe Castilho, Quarkus Development mailing list

Stuart Douglas

unread,
Jul 25, 2019, 7:37:17 PM7/25/19
to Emmanuel Bernard, Filipe Castilho, Quarkus Development mailing list
I just tested this out with 19.1 on Windows with a path in the space and it seemed to work. When running in dev mode it actually gets extracted to a temp directory so a space in the path should not affect it.

Stuart



Reply all
Reply to author
Forward
0 new messages