Michael Edgar
Michael Edgar
Having discussed and researched this one a few times, I am going to close the task for now as it ends up being more effort than it is worth. Since...
@migmachadopt , you can set `mp.openapi.extensions.smallrye.remove-unused-schemas.enable=true` to remove any schema in components that is not actually used. > Another question is whether it is possible to remove the `x-smallrye-profile-external` label...
@migmachadopt did you get this working the way you need? I'll go ahead and close this if I don't hear back.
Closing due to no feedback. The solutions offered should address the original questions.
@dhoffer are you having the problem with a simple `mvn package`? I tried that with your reproducer (on Linux) without any issues. Do you get any stack trace or something...
I don't have a Windows machine to try this one. Does this same thing happen with the latest Quarkus release, rather than the SNAPSHOT?
> [@MikeEdgar](https://github.com/MikeEdgar) could you make sure I'm not hallucinating? Yeah, I'll tighten this up.
I would have expected them to be closed via the `InputStreamReader` used within the builder [1] but I must be overlooking something. I'll keep digging. [1] https://github.com/smallrye/smallrye-open-api/blob/1a7ece62bc367422729fa6d9cd8300fab8de857a/core/src/main/java/io/smallrye/openapi/api/SmallRyeOpenAPI.java#L566-L573
Yes, that is a few lines up [1] from the additional/custom static file. [1] https://github.com/smallrye/smallrye-open-api/blob/3.13.0/core/src/main/java/io/smallrye/openapi/api/SmallRyeOpenAPI.java#L546-L560
It couldn't possibly be from the `META-INF/openapi.yaml` being a `HotDeploymentWatchedFileBuildItem` could it?