Questions tagged [spring-kotlin]

34 questions
0
votes
2 answers

return Mono/Flux with 2 nested subscriptions

I need to return Mono / Flux for a function but this has 2 nested subscriptions. I am looking for a better solution to publish Mono/Flux only after this 2 subscription values are available then perform some operation to derieve finalValue. The…
0
votes
1 answer

Kotlin > Spring Boot > Using router DSL, POST Method body, unable to convert JSON to POJOs

I’m trying to build a Petstore Fullstack application using Kotlin Multiplatform. I’m using Spring Router DSL for defining rest endpoints. For the GET method, it worked fine. Then I started working on POST, below is the code I wrote for the POST…
Chaitanya
  • 73
  • 1
  • 9
0
votes
1 answer

@EnableWebFlux on a WebFluxConfigurer does autoconfigure a ThymeleafViewResolver as expected

I'm building a REST api starting with spring-boot-starter-webflux, but I'd also like the app to serve a swagger UI using a webjar. I need to tweak how the swagger UI initializes, so I've made a @Controller that returns a Mono to trigger rendering…
UrLicht
  • 939
  • 1
  • 14
  • 25
0
votes
0 answers

Request body is empty when no authentication is present for secure APIs

I am trying to log the request body on all requests in a spring boot reactive application secured with spring security. But I am running into an issue where the request body is logged only if the basic auth header is present (even if the username…
1 2
3