pyeve / eve-swagger

Swagger extension for Eve-powered RESTful APIs
http://python-eve.org
Other
154 stars 43 forks source link

No name 'get_swagger_blueprint' in module 'eve_swagger' #99

Closed maulikdoshi82 closed 4 years ago

maulikdoshi82 commented 5 years ago

Getting above issue on vsc for from eve_swagger import get_swagger_blueprint, add_documentation

I do see add_documentation method but not get_swagger_blueprint inside eve-swagger.swagger.

Installed today using pip3 install eve-swagger

tiwariav commented 4 years ago

https://github.com/pyeve/eve-swagger/issues/99

Following the documentation on PyPI, instead of get_swagger_blueprint, import swagger and use it as following.

from eve import Eve
from eve_swagger import swagger, add_documentation

app = Eve()
app.register_blueprint(swagger)
rmlopes commented 4 years ago

PyPI has not been updated yet. If not installing from github source, you should follow PyPI instructions. If installing from source then the repository docs apply.

stale[bot] commented 4 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.