Skip to content

handle wildcard in URI template #49

@hnafar

Description

@hnafar

Add support for parsing wildcard parameter in UriTemplate. From https://github.com/dotnet/corefx/issues/24652#issuecomment-381698515

var template = new UriTemplate("http://localhost/{/x}", false)
var values = template.GetParameters("http://localhost/foo/1/"); // currently values is null, should bind x to "foo/1"

see https://tools.ietf.org/html/rfc6570#section-3.2.6
also see OAI/OpenAPI-Specification#291 for a related discussion

Will be happy to work on this and make a pull request if you point me in the right direction

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedThis issue is available to submit a pull request for

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions