February 21, 2024

0.8.2

(fix): File upload endpoints no longer fail to compile because the reference to the mime type variable is present.

1// Code that failed to compile
2String fileMimeType = Files.probeContentType(file.toPath());
3MediaType fileMediaType = fileMimeType != null ? MediaType.parse(mimeType) : null; // mimeType undefined
4// Code that now compiles
5MediaType fileMediaType = fileMimeType != null ? MediaType.parse(fileMimeType) : null;