Skip to content
This repository was archived by the owner on Sep 7, 2018. It is now read-only.
This repository was archived by the owner on Sep 7, 2018. It is now read-only.

Regex for Routing #14

Description

@100Errors

Submitting...

  • Feature

Hey there,
what about regular expressions for routing? or something like:

@swapy.on('/api/v1/{param_id}/new')
def newParam(args):

    return args['param_id']

or optional parameters:

@swapy.on('/api/v1/[/{param_id}]')
def optionalParam(args):

    return args['param_id'];

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