Problem:
Order to make requests we use postman, but it will be more convenient to use swagger.
To add swagger use Tapir library (https://tapir.softwaremill.com/en/latest/).
Task:
-
Rewrite RcEventsAPI with using Tapir
a. Add endpoints
b. Add routes with using endpoints (from point "a")
-
Make Open API with swagger routes ( use endpoints from point 1)
-
Compose routes from points 1 and 3 and add it to Server
Problem:
Order to make requests we use postman, but it will be more convenient to use swagger.
To add swagger use Tapir library (https://tapir.softwaremill.com/en/latest/).
Task:
Rewrite RcEventsAPI with using Tapir
a. Add endpoints
b. Add routes with using endpoints (from point "a")
Make Open API with swagger routes ( use endpoints from point 1)
Compose routes from points 1 and 3 and add it to Server