For the current moment only one solution available:
...
OpenApiRouter::new()
.routes(routes!(get_1))
.routes(routes!(get_2))
.routes(routes!(get_3))
...
The main thing: axum's route created specifically for unique methods (only one post
and get
may be specified per route). So, enjoy the solution! =)