We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I add the API resource like below( omit some code), but I can only open the API1 link and see the two APIs under one resource. Please guide..
api1 = swagger.docs(Api(app), apiVersion='0.1', basePath='http://10.24.32.5:10001', resourcePath='/', produces=["application/json", "text/html"], api_spec_url='/api1', description='extract Top3 keywords from text') api2 = swagger.docs(Api(app), apiVersion='0.1', basePath='http://10.24.32.5:10001', resourcePath='/', produces=["application/json", "text/html"], api_spec_url='/api2', description='search related news') ... api1.add_resource(KeywordModel, '/docs/api1') api2.add_resource(SearchModel, '/docs/test')
The text was updated successfully, but these errors were encountered:
Hi @aibati2008
There is a similar open issue here: #35
See the comment made by lounagen.
Sorry, something went wrong.
No branches or pull requests
I add the API resource like below( omit some code), but I can only open the API1 link and see the two APIs under one resource. Please guide..
api1 = swagger.docs(Api(app), apiVersion='0.1',
basePath='http://10.24.32.5:10001',
resourcePath='/',
produces=["application/json", "text/html"],
api_spec_url='/api1',
description='extract Top3 keywords from text')
api2 = swagger.docs(Api(app), apiVersion='0.1',
basePath='http://10.24.32.5:10001',
resourcePath='/',
produces=["application/json", "text/html"],
api_spec_url='/api2',
description='search related news')
...
api1.add_resource(KeywordModel, '/docs/api1')
api2.add_resource(SearchModel, '/docs/test')
The text was updated successfully, but these errors were encountered: