Closed
Description
It seems the Spring Resource type is currently not recognized as a binary response (I am returning a Resource subtype - FieSystemResource). The Resource object shows up as a schema in the UI. Here is my current method definition:
@GetMapping("/{imageId}", produces = [MediaType.IMAGE_JPEG_VALUE]) fun getImage(@PathVariable(value = "imageId") imageId: String): Mono<Resource>
Is it possible to somehow override this behavior, to recognize it as a binary response?
Thank you for your help