As a developer
I need to Configure Swagger before initializing the app
So that the API routes are clearly separated from other routes (at /api/...) and swagger documentation at /apidocs
Details and Assumptions
All REST API routes will be prefixed with /api
Swagger documentation will be at /apidocs
Initialization configuration added in service/init.py, before the app running
Acceptance Criteria
Given the service running
When I visit localhost:8080/apidocs
Then a page with message "Wishlist Demo REST API Service 1.0.0" show up.
/api/endpoints should be inspected after each endpoint is converted to restx endpoint
As a developer I need to Configure Swagger before initializing the app So that the API routes are clearly separated from other routes (at /api/...) and swagger documentation at /apidocs
Details and Assumptions
Initialization configuration added in service/init.py, before the app running
Acceptance Criteria