Relative Content

Tag Archive for openapiquarkussmallrye

With Quarkus, how to exclude openapi extension in production build

New to Quarkus.
I am using Quarkus with io.quarkus:quarkus-smallrye-openapi. My requirement is to keep the binary as small as possible. I dont need the openapi endpoint or swagger-ui in production build.
Is it possible to somehow exclude io.quarkus:quarkus-smallrye-openapi from production build?
I am currently not using any annotations in the code. But if I want to use them, it would be nice if those could be stripped during priduction build and production binary only contains necessary code.