Building Quarkus native images. You can do it too!

If you read the Quarkus native build page, it should be a breeze: enable -Pnative and there we go! Well… not so fast. Not so fast at all, as they recognize in another “Quarkus native tips” page, unfortunately not linked from the first one (so good luck googling for it). And boy do you need those tips…

I had this application happily running for months and while at the beginning there were some recognized issues with native generation on Windows, nowadays the general expectation was it should work. So I updated all dependencies and started a painful three days long trip, but hey no pain no gain right?

Here’s what it required:

Continue reading
Advertisement

How about OpenAPI descriptions and Swagger UI in your Java REST API?

I have this Quarkus project which uses basic JAX-RS annotations to generate your API, fairly basic and trivially simple. Yes that’s all Quarkus needs and it looks pretty much like Spring MVC or anything else. Now I’d need to create Postman test data and buid tests for all these endpoints or… or integrate it with Swagger – both to add OpenAPI style documentation AND to have a nice web GUI client to read infos and test them.

Continue reading