2024-06-02 22:41:14 +02:00
|
|
|
from flask import jsonify
|
2024-03-12 20:12:19 +01:00
|
|
|
from flasgger import swag_from
|
|
|
|
|
2024-03-13 13:43:34 +01:00
|
|
|
from app.doc.root_swag import root_swagger
|
|
|
|
|
2024-03-08 14:05:00 +01:00
|
|
|
from app.api import bp
|
2024-03-05 16:01:26 +01:00
|
|
|
|
2024-06-02 22:41:14 +02:00
|
|
|
|
|
|
|
@bp.route("/")
|
2024-03-13 13:43:34 +01:00
|
|
|
@swag_from(root_swagger)
|
2024-03-05 16:01:26 +01:00
|
|
|
def hello():
|
2024-06-02 22:41:14 +02:00
|
|
|
return jsonify({"message": "Hello, Flask!"})
|