HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall_forms/buyercall/buyercall/blueprints/api_doc/views.py
import logging

from flask import Blueprint, render_template

from flask_login import login_required


api_doc = Blueprint('api_doc', __name__, template_folder='templates')

log = logging.getLogger(__name__)


@api_doc.route('/doc')
@login_required
def api_doc_view():
    return render_template('api_doc/index.html')


@api_doc.route('/json')
@login_required
def api_doc_json():

    return ''