Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify custom bottle app #188

Merged
merged 1 commit into from Mar 24, 2018

Conversation

@dtaniwaki
Copy link
Contributor

commented Mar 21, 2018

I think it'd be great if I can specify custom app instead of default app for Bottle.

from apispec import APISpec
spec = APISpec(title='', version='', plugins=['apispec.ext.bottle'])

from bottle import Bottle
app = Bottle()
@app.route('/')
def index():
    pass

spec.add_path(view=index, app=app)

Could you consider to merge this PR?

@sloria

This comment has been minimized.

Copy link
Member

commented Mar 24, 2018

Makes sense to me. Thanks!

@sloria sloria merged commit 25b2f27 into marshmallow-code:dev Mar 24, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.