Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ns.route('/', methods=['GET', 'POST', 'PATCH', 'DELETE'])
- @api.response(404, 'not found.')
- class MyClass(Resource):
- @api.doc('Registration', responses={
- 200: 'OK'
- })
- def get(self):
- """ Code Here """
- return results
- def post(self):
- """ Code Here """
- return results
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement