As a developer
I need to update the container to use Flask-RESTX
So that the service can have a standardized API structure and easier integration of Swagger documentation
Details and Assumptions
The microservice will be refactored to use Flask-RESTX
Python modules are installed by poetry
The refactoring will follow the file layout outlined in lab-flask-restplus-swagger
Acceptance Criteria
Given the microservice codebase and docker container rebuilt
When I reopen the codebase in container
Then the service should follow the Flask-RESTX file layout, ready for OpenAPI andswagger documentation development
And the microservice should maintain the same functionality as before refactoring
JSON error messages are guaranteed by flask-restx. Most error handlers and jsonify should be removed after each route is decorated with flask-restx api.
As a developer I need to update the container to use Flask-RESTX So that the service can have a standardized API structure and easier integration of Swagger documentation
Details and Assumptions
The refactoring will follow the file layout outlined in lab-flask-restplus-swagger
Acceptance Criteria