Skip to content

Allow returning list as JSON response #321

@greyli

Description

@greyli

Like how dict return value was handled:

@app.get('/')
def many():
    return ['foo', 'bar', 'baz']  # -> become JSON response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions