Update to use flask-restx
This commit is contained in:
2
app/third_party/app/__init__.py
vendored
2
app/third_party/app/__init__.py
vendored
@@ -1,7 +1,7 @@
|
||||
def create_bp(env=None):
|
||||
from flask import Blueprint, jsonify
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask_restplus import Api, Resource, Namespace
|
||||
from flask_restx import Api, Resource, Namespace
|
||||
|
||||
bp = Blueprint("Example third party API", __name__)
|
||||
api = Api(bp, title="Flaskerific API", version="0.1.0")
|
||||
|
Reference in New Issue
Block a user