Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Action Endpoint using RestPLUS #92

Open
ajita-asthana opened this issue Dec 2, 2022 · 0 comments
Open

Refactor Action Endpoint using RestPLUS #92

ajita-asthana opened this issue Dec 2, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ajita-asthana
Copy link
Contributor

As a Developer
I need to implement Flask-RESTPlus
So that I could generate Swagger Doc with less effort

Details and Assumptions

  • follow the file layout outlined in lab-flask-restplus-swagger repo
  • Implemenentation for Activate a promotion and Deactivate a promotion endpoints

Acceptance Criteria

Make sure that all HTTP errors return json error messages and not html.
Make sure no 500 errors when throwing bad data
Make sure that your Flask-RESTPlus implementation still works like the original. the same test cases should still work as expected.
Make sure to add Swagger annotation as well
@ajita-asthana ajita-asthana added enhancement New feature or request documentation Improvements or additions to documentation and removed enhancement New feature or request labels Dec 2, 2022
@ajita-asthana ajita-asthana self-assigned this Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant