Closed
Description
This route from the WebFlux functional demo https://github.com/springdoc/springdoc-openapi-demos/blob/ff9b81f88ce1c66ffb5bf70d9bbbd69f5d77aed6/springdoc-openapi-spring-boot-2-webflux-functional/src/main/java/org/springdoc/demo/app4/user/RoutingConfiguration.java#L21
has 2 issues:
user
parameter is documented as type "string" but it should be aUser
object. But this can be fixed by acceptingUser
instead ofMono<User>
, so it's not the fault of springdoc.- If I change the
id
parameter fromPATH
toQUERY
then it is documented as a single body schema that containsid
field anduser
field. But I wantid
to be a query parameter anduser
to be in the request body.@RequestBody
onuser
is ignored.
also, maven project doesn't seem to include -parameters
compiler flag, so the real parameter names aren't seen by reflection