Closed gingeleski closed 4 years ago
Opted for OpenAPI (version 3.0) in lieu of Swagger (version 2.0).
Note that what I just committed isn't necessarily comprehensive or accurate. Will attempt to make it so before closing this issue.
I don't even really remember where I left the application logic, so...
Current API state, based off controller skimming
UserController.java
POST /login
AuthZ @PermitAll
Params username, password
GET /logout
AuthZ isAuthenticated()
RoomController.java
GET /rooms
AuthZ isAuthenticated()
GET /rooms/{roomName}
AuthZ isAuthenticated()
GET /rooms/{roomName}/availability
AuthZ isAuthenticated()
AppointmentController.java
(nothing right now)
This should be kept up-to-date with API changes from here on.
For the example application, add an OpenAPI/Swagger spec.
https://swagger.io/