Skip to content

Auto-build directories from routes? #1

Open
@lojikil

Description

@lojikil

It might be nice to have an "auto-directory builder" from routes:

@autoroute('/test/foo', 'some description')
def test_foo():
    return "this is a foo test"

@autoroute('/test/bar', 'some other description')
def test_bar():
    return "this is a bar test"

That way you need not even build the directory object or have a route for /test.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions