Skip to content

Commit

Permalink
Fix: fix example of class based view
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjr0719 committed May 22, 2019
1 parent bb15e7e commit 9c0bbd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/class_based_view/main.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
from sanic_openapi import doc
from sanic_openapi import openapi_blueprint, swagger_blueprint
from sanic_openapi import swagger_blueprint
from sanic import Sanic
from sanic.response import json

from blueprint import blueprint

app = Sanic()

app.blueprint(openapi_blueprint)
app.blueprint(swagger_blueprint)
app.blueprint(blueprint)

Expand Down

0 comments on commit 9c0bbd3

Please sign in to comment.