I'm in the process of preparing a custom OpenAPI generator, to make the generated docs generic. The problem that I've encountered is some strange behavior when trying to inject the org.eclipse.microprofile.config.Config into class which extends org.eclipse.microprofile.openapi.OASFilter. The Config object cannot be resolved by the Wildfly CI/CD container, even though resolving it through the factory method succeeds in doing so.

Resolving the Config reference still, however, is not solving my problem of being able to read the content of META-INF/microprofile-config.properties at this point, even though later on, during execution of @Startup bean, it gets resolved correctly. Any reason as of why, the behavior of injecting is different? I'm using an official Wildfly 19 image.
EDIT: The main problem is that the content of microprofile-config.properties is ignored when looking up for the properties