Skip to content

Instantly share code, notes, and snippets.

@jasonrhaas
Created January 30, 2019 19:31
Show Gist options
  • Save jasonrhaas/2c96f8c382621be81304bffa0c348623 to your computer and use it in GitHub Desktop.
Save jasonrhaas/2c96f8c382621be81304bffa0c348623 to your computer and use it in GitHub Desktop.
Register Swagger Blueprint
swagger_bps = Swagger.blueprint(spec=self.spec, api_name=self.name)
restless_bps = Restless.blueprints(
# url_prefix='/{}'.format(self.name),
exclusions=self.exclusions,
app=self.app,
db=self.db,
models=self.models,
)
self.register_blueprints(welcome, restless_bps, swagger_bps, self.other_bps)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment