Interface automation document based on flash.
Project description
flask-api-docs
Interface automation document based on flash
Installation
It is possible to install the tool with pip:
pip install xt-FlaskAPIDocs
Usage
Sample usage:
from flask import Flask
from flask_api_demo.test.HelloWorld import HelloWorld
from flask_docs import BluePrint, Docs
app = Flask(__name__)
a = BluePrint('hello', __name__)
a.add_url_rule('/hello', 'hello', HelloWorld().hello_world, methods=['GET'], args={"test1": 'str', "test2": 'int'})
a.add_url_rule('/bye', 'bye', HelloWorld().bye_world, methods=['GET'], args={"test1": 'str', "test2": 'int'})
app.register_blueprint(a)
Docs(app, hide_docs=True)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for xt_FlaskAPIDocs-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493dcdbe7689e0ae81798e9494dbe237bcf2ac22d71de622b080fde2be38ef5d |
|
MD5 | 2b1b6420488847285d6fc6f95d255832 |
|
BLAKE2b-256 | f79fbe1585f544448d85686beb2a5dca288765855741cde16c4240c637df6f26 |