diff --git a/backend/main.py b/backend/main.py index 13243e8..4a86eac 100644 --- a/backend/main.py +++ b/backend/main.py @@ -6,7 +6,6 @@ # Initialize Flask app app = Flask(__name__) -# Initialize Swagger (Flasgger) Swagger(app) # SQLite database file @@ -62,7 +61,7 @@ def init_db(): # API Routes @app.route('/api/pets', methods=['GET']) def get_pets(): - """Retrieve all pets""" + """Retrieve all pets.""" try: conn = get_db() cursor = conn.cursor() @@ -85,7 +84,7 @@ def home(): @app.route('/api/pets/', methods=['GET']) def get_pet(pet_id): - """Retrieve a single pet by ID""" + """Retrieve a single pet by ID.""" try: conn = get_db() cursor = conn.cursor() @@ -106,7 +105,7 @@ def get_pet(pet_id): @app.route('/api/pets', methods=['POST']) def add_pet(): - """Add a new pet""" + """Add a new pet.""" try: pet_data = request.get_json()