How to use the spectree.SpecTree function in spectree

To help you get started, we’ve selected a few spectree examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ivorjawa / BoarGL / spectree.py View on Github external
def run():
    hid_js.init_js()
    BoarGL.glbase.init_gl(sys.argv)
    print gl.glGetString(gl.GL_RENDERER)
    print gl.glGetString(gl.GL_VERSION)
    driver = SpecTree()
    driver.run()

spectree

generate OpenAPI document and validate request&response with Python annotations.

Apache-2.0
Latest version published 9 days ago

Package Health Score

81 / 100
Full package analysis

Popular spectree functions