79303329

Date: 2024-12-23 14:13:22
Score: 1
Natty:
Report link

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! =)

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Grimlock