Fix code sample for nested router functions #28603
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: documentation
A documentation task
Milestone
Hi,
About nested Routes in Web on Reactive Docs ,
https://docs.spring.io/spring-framework/docs/current/reference/html/web-reactive.html#nested-routes
says
![스크린샷 2022-06-10 오전 11 52 05](https://user-images.githubusercontent.com/26921986/172980771-88910f1e-fc73-4621-a316-6c5730911c3a.png)
path("/person", builder -> ... .POST("/person", ...)).build();
it means that API will be
POST "/person/person"
,however this example is how to construct nest path without duplication so I think it is not RESTful.
Is this intentional?
if not, how about to update like
The text was updated successfully, but these errors were encountered: