Update extension.py to support Blueprint Name in init#167
Conversation
Adding APISPEC_BLUEPRINT_NAME, to prevent Error: AssertionError: A name collision occurred between blueprints <flask.blueprints.Blueprint object at 0x11f474cc0> and <flask.blueprints.Blueprint object at 0x11ee7b898>. Both share the same name "flask-apispec". Blueprints that are created on the fly need unique names. When trying to create 2 separate swagger endpoints for a set of resources. (i.e Public and Private)
Codecov Report
@@ Coverage Diff @@
## master #167 +/- ##
=======================================
Coverage 97.71% 97.71%
=======================================
Files 8 8
Lines 350 350
=======================================
Hits 342 342
Misses 8 8
Continue to review full report at Codecov.
|
|
Any updates? |
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #167 +/- ##
=======================================
Coverage 97.71% 97.71%
=======================================
Files 8 8
Lines 350 350
=======================================
Hits 342 342
Misses 8 8
|
Adding APISPEC_BLUEPRINT_NAME, to prevent Error:
AssertionError: A name collision occurred between blueprints <flask.blueprints.Blueprint object at 0x11f474cc0> and <flask.blueprints.Blueprint object at 0x11ee7b898>. Both share the same name "flask-apispec". Blueprints that are created on the fly need unique names.
When trying to create 2 separate swagger endpoints for a set of resources. (i.e Public and Private)